Hadith 247

Riyad as-Salihin

Book 17: The Book of the Prohibited actions

Chapter 342

Prohibition of facing the Graves during Salat (Prayer)

باب النهي عن الصلاة إلى القبور

Riyad as-Salihin 1757
عن أبي مرثد كناز بن الحصين رضي الله عنه قال‏:‏ سمعت رسول الله صلى الله عليه وسلم يقول‏:‏ ‏ ‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏
"‏لا تصلوا إلى القبور، ولا تجلسوا عليها‏"
Abu Marthad Kannaz bin Husain (May Allah be pleased with him) said:

I heard the Messenger of Allah (ﷺ) saying: "Do not offer Salat (prayer) facing the graves and do not sit on them."[Muslim].