The Messenger of Allah ﷺ forbade sitting on a grave, or plastering it, or building over it.
حدثنا مسدد وعثمان بن أبي شيبة قالا حدثنا حفص بن غياث عن ابن جريج عن سليمان بن موسى وعن أبي الزبير عن جابر بهذا الحديث
Muslim narrated it, no. 970, from the hadith of Hafs bin Ghiyath, through him, see the previous hadith.