It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that I myself heard the Prophet (peace and blessings be upon him) forbidding sitting on the grave, making it solid, and constructing a building over it.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 14647