from the Prophet, similar (to no. 1050), but it does not contain "From Abu Idris" and this…

Jami` at-Tirmidhi Book 10 Hadith 87

Jami` at-Tirmidhi #1051

The Book on Jana''iz (Funerals) 10:87

(Another chain) from Abu Marthad Al-Ghanawi :

from the Prophet, similar (to no. 1050), but it does not contain "From Abu Idris" and this is what is correct.

Chapter: What Has Been Related About It Being Disliked To Tread On Graves, Sit On Them, (And Pray Towards Them)

Grade: Sahih (Darussalam)