Question: I argued with people who hold the opinion that it is permissible to offer Salaah (Prayer) in a graveyard and in a Masjid (mosque) where there is a grave or graves. I refuted their arguments with clear and Saheeh Hadeeths (Hadeeths that have been transmitted by people known for their uprightness and exactitude; free from eccentricity and blemish). But they said: “Where did `Aa’ishah perform Salaah after the Prophet (peace be upon him) and others had been buried in her house? Did she perform Salaah in her house or outside it? They also mentioned that the Prophet (peace be upon him) and his Sahaabah (Companions of the Prophet) performed Salaah in Al-Masjid Al-Haram (the Sacred Mosque in Makkah) though Hajar, wife of prophet Ibraaheem (Abraham, peace be upon him) and some of the prophets are buried in it. Is this true or not? Also, is it true that `Aa’ishah used to perform Salaah in her house after the death of the Messenger of Allaah (peace be upon him)? I would also like to know the names of some books that deal with this subject.
Answer: It was related in the Two Saheeh (authentic) Books of Hadeeth (i.e. Al-Bukhaaree and Muslim) on the authority of `Aa’ishah (may Allaah be pleased with her) that she said that the Prophet (peace be upon him) said on his deathbed… read more here.