The Ruling on Writing on Graves
Is it permissible to place a metal strip or an inscription on the grave of a dead person containing Qur'anic Verses, plus the name of the dead person, the date of the death etc?
It is not permissible to write on the grave, neither Qur'anic Verses, nor anything else, whether in metal or on a sign or on anything else. This is because of what has been authentically reported from the Prophet Salallaahu alayhi wasallam in the Hadith of Jaabir, may Allaah be pleased with him, that he forbade plastering over the graves, sitting on them and building over them. (Muslim no.970)This was narrated by Muslim and At-Tirmithi, and An-Nisa'i added with an authentic chain of narrators: "and writing on them."(at-Tirmithi no.1052)
Shaykh `Abdul-`Azeez Bin Baz
Fatawa Islamiyah, vol.1, p.182, DARUSSALAM