Mohammed did that? I thought it was Ghandi.
From a cat website:
Mohammad himself, according to a report (hadith) attributed to Abu Huraira, owned a cat named Muezza, about whom it is said that one day while she was asleep on the sleeve of Mohammad's robe, the call to prayer was sounded. Rather than awaken the cat, Mohammad quietly cut his sleeve off and left. When he returned, the cat bowed to him and thanked him, after which she was guaranteed a place in heaven.