If One Changes the Form of Prayer or Makes It Invalid After Offering Prayer
Issue No.1110- If a person performs an act after prayer that disturbs the form of prayer or invalidates the prayer (like turning his back towards the qiblah), he should perform the qaḍā of the sajdah and tashahhud and, as an obligatory precaution, repeat the prayer. If he has done an act that makes sajdah al-sahw obligatory upon him, he should, as an obligatory precaution, perform sajdah al-sahw after performing the qaḍā of sajdah or tashahhud.