The World Federation One Stop Fiqh

Ruling 741

If there is ample time for prayers and a creditor asks to be paid what he is owed, one must first pay his debt and then perform his prayer, if this is possible. Similarly, if some other obligation arises that must be performed immediately ‒ for example, one sees that the mosque has become impure ‒ he must first purify the mosque and then perform his prayer. In both cases, in the event that he first performs his prayer, he commits a sin but his prayer is valid.