363. Ghusl for Janabat is Mustahab for attaining Taharat from the state of Janabat, and it is obligatory for offering the daily prayers and other similar acts of worship. However, it is not obligatory for Namaz-e-Mayyit or Sajdatush Shukr' (prostration for thanksgiving) or for the obligatory Sajdah upon reciting the four particular verses of the holy Qur'an. (Rule no. 361)
361. The following five things are Haraam for Junub:
To touch with any part of one's body the script of the holy Qur'an or the Name of Almighty Allah and other Names and specific attributes of Allah. And as per precautionary measures, to touch with any part of one's body, the names
of the holy Prophet and Imams and Hazrat Fatima Zahra (peace be upon them), as mentioned in Wudhu earlier.