Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:1563ʿAbdullāh b. Saʿīd > Ḥafṣ b. Ghiyāth > Ibn Jurayj > Sulaymān b. Mūsá > Jābir

“The Messenger of Allah ﷺ forbade writing anything on graves.”  

ابن ماجة:١٥٦٣حَدَّثَنَا عَبْدُ اللَّهِ بْنُ سَعِيدٍ حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ عَنِ ابْنِ جُرَيْجٍ عَنْ سُلَيْمَانَ بْنِ مُوسَى عَنْ جَابِرٍ قَالَ

نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يُكْتَبَ عَلَى الْقَبْرِ شَىْءٌ  


See similar narrations below:

Collected by Ibn Ḥibbān

ذِكْرُ الزَّجْرِ عَنِ اتِّخَاذِ الْأَبْنِيَةِ عَلَى الْقُبُورِ

ibnhibban:3163ʿImrān b. Mūsá b. Mujāshiʿ > ʿUthmān b. Abū Shaybah > Ḥafṣ b. Ghiyāth > Ibn Jurayj > Abū al-Zubayr > Jābir

“The Messenger of Allah ﷺ forbade writing anything on graves.” (Using translation from Ibn Mājah 1563)   

ابن حبّان:٣١٦٣أَخْبَرَنَا عِمْرَانُ بْنُ مُوسَى بْنِ مُجَاشِعٍ قَالَ حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ قَالَ حَدَّثَنَا حَفْصُ بْنُ غِيَاثٍ عَنِ ابْنِ جُرَيْجٍ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ قَالَ

«نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يُبْنَى عَلَى الْقَبْرِ»