English translation
1026. It was reported from Mālik, from Zaid bin Aslam, from 'Aṭā' bin Yaṣār that the Messenger of Allāh ﷺ said: "If one of you is doubtful in his prayer, and is not sure how much he prays, three or four, then let him pray a Rak'ah, and prostrate twice while he is sitting — before he says the Taslim. So if the Rak'ah that he prayed was actually a fifth (Rak'ah), then he would have made (the prayer) even with these two prostrations. And if it were the fourth Rak'ah, then these two prostrations will infuriate (and humiliate) the Shaiṭān." (Sahih)
