The Messenger of Allah (ﷺ) as saying: Do not sit on the graves, and do not pray facing…

Sunan Abu Dawud Book 21 Hadith 141

Sunan Abu Dawud #3229

Funerals (Kitab Al-Jana'iz) 21:141

Narrated Abu Marthad al-Ghanawi :

The Messenger of Allah (ﷺ) as saying: Do not sit on the graves, and do not pray facing them.

Chapter: It Is Disliked To Sit On Graves

Grade: Sahih (Al-Albani)