And whoever doubts and does not know whether he has prayed one rak‘ah, or two, or three, or four, it is obligatory upon him to repeat the prayer, because the first two rak‘ahs are not established for him. And we have already demonstrated that whoever does not have certainty regarding the first two rak‘ahs must begin the prayer anew. This is also supported by what was narrated:
Commentary #11