It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) forbade us from solidifying the grave or building over it.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 15286
Hadith Gradingحکم دارالسلام:حديث صحيح، م: 970، وهذا إسناد ضعيف لجهالة نصر بن راشد، وإبهام الراوي عن جابر