In Fatawa al-Lajnah ad-Da’imah (4/58) it says: It is not known that the Prophet (blessings and peace of Allah be upon him) ever wrote any surah or verse of the Qur’an, or any of the names of Allah, may He be exalted, on plaques or plates to be hung on the walls or in passageways for the purpose of adornment or seeking blessings, or to be a means of reminding people and conveying the message, or by way of exhorting and teaching people. The Rightly Guided Caliphs and the rest of the Companions (may Allah be pleased with them) followed his teachings concerning that, and the imams of guidance among the righteous early generations, who the Prophet (blessings and peace of Allah be upon him) testified were the best of generations after him (may Allah be pleased with them), followed in their footsteps. Hence they did not write any words of Qur’an, saheeh Prophetic hadiths or the beautiful names of Allah on plaques, plates or cloth, in order to hang them on the walls for the purpose of decoration, reminder or reflection after Islam spread and its territory expanded, and Islamic culture became widespread throughout the land, and literacy became common and many, various ways of conveying the message became available. They did not do that, even though they had a greater understanding of Islam and its objectives, and were very keen to spread Islam and convey its message. If this were something that is prescribed in Islamic teachings, the Prophet (blessings and peace of Allah be upon him) would have told us about it and guided us to do it; he and his Companions would have done it, and the imams of guidance would have done it after him (may Allah be pleased with them).
Based on that, writing any words of the Qur’an or Prophetic hadiths, or the beautiful names of Allah, on plaques or plates and the like, to be hung up as decor or for the purpose of reminder or reflection, or to be used as trade goods for the purpose of earning profit and persuading people to buy them, so that they may be a means of making money, thus undermining the dignity of the Qur’an and the hadiths of the Prophet (blessings and peace of Allah be upon him) and detracting from the noble objectives that Islam promotes, is contrary to the teachings of the Messenger of Allah (blessings and peace of Allah be upon him) and the practice of the Companions and the leading scholars of the early generations (may Allah be pleased with them). Furthermore, these things may be subjected to mishandling at some point, when they are moved from one house to another or from one place to another, and they may be carried or touched by one who is junub or menstruating.
Refer Complete Answer
https://islamqa.info/en/answers/151903/ruling-on-writing-the-names-of-allah-on-walls