It’s an ancient concept, depicted several times over history. The oldest one is an old Chinese tale (and related paintings) that has an emperor cutting his sleeve to avoid disturbing his sleeping lover (a younger man). So famous that “cut sleeve passion” became euphemism for homosexuality in China.
In Islam, there is an apocryphal story of the prophet Muhammad doing this for his cat Muezza.
I was hoping it would be a picture, not a story :(
That would imply having to draw the prophet Muhammad.
The prophet Mohammed has been drawn many times. It’s a shame that very often the head of Muhammed has been scratched off of the paintings. People still honored the artwork but thought depicting the prophet was a mistake. Persian miniature art is a beautiful world to dive into if art has your interest. Kamāl ud-Dīn Behzād would be a nice starting point.