Jami` at-Tirmidhi, Book 10, Hadith 86 (Tirmidhi 1052)

Abu Marthan Al-Ghanawi narrated that:

The Prophet said: "Do not sit on the graves nor perform Salat towards them."