Short answer
It is better not to. The Hanafi scholars dislike writing Quran verses and Allah's names on clothes, rugs and other things that get sat on, sweated in, thrown in with dirty laundry and taken into the toilet. Plain Arabic words or designs with no sacred text are fine.
Writing the Quran or the names of Allah on clothing and furnishings is makruh, because it exposes them to disrespect. Wearing such clothing into the toilet or letting it touch impurity is worse, and the Hanafi rule against touching Quranic text without wudu makes such clothing harder still.
The four schools agree on this.
Explanation
Allah says that whoever honours the symbols of Allah, that comes from the piety of hearts. The words of the Quran and the names of Allah are among the greatest of those symbols. For this reason al-Fatawa al-Hindiyya says it is disliked to write the Quran or Allah's names on walls, on coins, and on things that are spread on the floor, since they will be treated without respect.
A T-shirt, hoodie or scarf with a verse on it faces the same problem. You sit on it, sweat in it, wash it with socks, and may forget and wear it into the bathroom. And in the Hanafi school, touching the written words of the Quran without wudu is not permitted, which is hard to keep with clothes that touch your body all day.
- Better avoided: clothes printed with Quran verses, the Shahadah, Bismillah or the names of Allah.
- Fine: Arabic slogans, names of people, geometric patterns and calligraphy that is not sacred text.
- If you own one: take it off before entering the toilet, do not sit on the printed part, and wash it separately with care.
- When it wears out: cut out the writing and bury it, or wash the ink away, rather than throwing it in the bin.
For jewellery with Allah's name, see can you wear an Allah necklace. For clothes with pictures, see clothes with pictures of people or animals.
The evidence
Quran, Surah Al-Hajj 22:32
ذَٰلِكَ وَمَن يُعَظِّمْ شَعَٰٓئِرَ ٱللَّهِ فَإِنَّهَا مِن تَقْوَى ٱلْقُلُوبِ ﴿٣٢﴾
That [is so]. And whoever honors the symbols of Allah - indeed, it is from the piety of hearts.
Respecting the Quran and Allah's names is part of taqwa.
Quran, Surah Al-Waaqia 56:79
لَّا يَمَسُّهُۥٓ إِلَّا ٱلْمُطَهَّرُونَ ﴿٧٩﴾
None touch it except the purified.
The basis of the Hanafi rule that the Quran's text is not touched without wudu.
Where the ruling is recorded
- al-Fatawa al-Hindiyya, Kitab al-Karahiyya, chapter on the etiquette of the mosque, the mushaf and things with Quran written on them. Writing the Quran and Allah's names on walls, coins and furnishings is disliked.
- al-Durr al-Mukhtar with Radd al-Muhtar, Kitab al-Taharah, chapter on menstruation, on touching the Quran. Touching written Quranic text without wudu is not permitted.
Checked by our team. For a more accurate answer to your own situation, consult a scholar. Quran translation by Sahih International. Hadith Arabic from the standard editions of the six books and the Muwatta, with gradings as recorded there; the English is our own rendering. Spotted a mistake? Tell us.