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.
Stories of cats who seek out persons who are praying, and of cats sensitive to the presence of grace, are common.
عُذِّبَتِ امْرَأَةٌ في هِرَّةٍ سَجَنَتْها حتَّى ماتَتْ، فَدَخَلَتْ فيها النَّارَ، لا هي أطْعَمَتْها ولا سَقَتْها، إذْ حَبَسَتْها، ولا هي تَرَكَتْها تَأْكُلُ مِن خَشاشِ الأرْضِ