“The Messenger of Allah (ﷺ) forbade writing anything on graves.”
Sunan Ibn Majah Book 6, Hadith 131