The Book of the Prohibited actions
Riyad as-Salihin #1078
كتاب الأمور المنهي عنها
عن أبي مرثد كناز بن الحصين رضي الله عنه قال: سمعت رسول الله صلى الله عليه وسلم يقول: «لا تصلوا إلى القبور، ولا تجلسوا عليها» ((رواه مسلم)).
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.”.
عن أبي مرثد كناز بن الحصين رضي الله عنه قال: سمعت رسول الله صلى الله عليه وسلم يقول: "لا تصلوا إلى القبور، ولا تجلسوا عليها" ((رواه مسلم)).
I heard the Messenger of Allah (ﷺ) saying: "Do not offer Salat (prayer) facing the graves and do not sit on them.".
— Riyad as-Salihin, Hadith 1078