a. ritual impurity i.e. you’re in a state that requires taking a ghusl
b. no wudhu (but you’re ritually pure)
c. having impurity on clothes or body of the amount that affects the validity of salat
Jazakallah Khairan
Answer:
Therefore, it will not be permissible to perform prostration of gratitude in the three states that you mentioned. [1]
Also, note that prostration of gratitude is only mustahab (praiseworthy) when one is endowed with a new bounty. In normal circumstances, it is neither mustahab nor makrooh. To perform prostration of gratitude or any other prostration, such as sajda tilawa (prostration performed after reciting a verse of prostration), immediately after salat when there are others present is makrooh. In the absence of others, performing prostration of gratitude or sajda tilawa after salat is permissible with the conditions that one does not consider it to be sunnah or mustahab and that he does not make it a habit. [2]
(Ahsanul Fatawa: 3/25, Saeed)
There is no such thing as prostration of repentance in Shariah. There is an optional salat called salat at-tauba (the prayer of repentance). This prayer is offered like any other optional prayer. [3]
Mufti Faizal Riza