Analysis of information sources in references of the Wikipedia article "Islam and cats" in English language version.
In still another charming legend about the Prophet, one day his favorite cat Muezza bowed to thank him for some kind favor and, by this story, Muhammad then passed his hand down three times the length of the animal's back, giving to it—and to all cats evermore—the enviable capacity always to land squarely on their feet.
عُذِّبَتِ امْرَأَةٌ في هِرَّةٍ سَجَنَتْها حتَّى ماتَتْ، فَدَخَلَتْ فيها النَّارَ، لا هي أطْعَمَتْها ولا سَقَتْها، إذْ حَبَسَتْها، ولا هي تَرَكَتْها تَأْكُلُ مِن خَشاشِ الأرْضِ [A woman was tortured because of a cat that she had imprisoned until it died. She entered the Fire because of it. She neither fed it nor gave it water to drink, as she had imprisoned it, nor did she let it eat from the vermin of the earth.]