+ -

عن أبي مَرْثَدٍ الغَنَوِيّ رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم:
«لَا تَجْلِسُوا عَلَى الْقُبُورِ، وَلَا تُصَلُّوا إِلَيْهَا».

[صحيح] - [رواه مسلم] - [صحيح مسلم: 972]
المزيــد ...

Abu Marthad al-Ghanawi (may Allah be pleased with him) reported: The Messenger of Allah (may Allah's peace and blessings be upon him) said:
"Do not sit on graves, and do not pray towards them."

[Authentic hadith] - [Narrated by Muslim] - [Sahih Muslim - 972]

Explanation

The Prophet (may Allah's peace and blessings be upon him) forbade sitting on the graves.
He also forbade praying while facing the graves if the grave lies in the direction of the Qiblah for the praying person because this is one of the means leading to polytheism.

Translation: Urdu Spanish Indonesian Uyghur Bengali French Turkish Russian Bosnian Sinhala Indian Chinese Persian Vietnamese Tagalog Kurdish Hausa Portuguese Malayalam Telgu Swahili Tamil Burmese Thai German Japanese Pashto Assamese Albanian Swedish amharic Dutch Gujarati Kyrgyz Nepali Yoruba Lithuanian Dari Serbian Somali Kinyarwanda Romanian Hungarian Czech Malagasy Italian Kannada Ukrainian
View Translations

Benefits from the Hadith

  1. It is prohibited to offer prayer in the graveyards, between them, or towards them, with the exception of the funeral prayer, as established by the Sunnah.
  2. Praying towards the graves is prohibited to block the means to polytheism.
  3. Islam prohibited immoderate reverence for the graves or disrespect towards them - neither extremism nor neglect.
  4. The inviolability of a Muslim continues after his death, as indicated by the Prophet's statement: "Breaking the bone of a dead person is like breaking it while he was alive."
More ...