Thereafter...
Thereafter, he should offerSalat-ul-Ihtiyat of 2 Rak'ahs standing, and another 2 Rak'ahs in the sitting position. (ix) If a person daubts, while standing whether he has performed 5 or 6 Rak'ahs, he should sit down and recite Tashahhud and Salam of the prayer. Thereafter, he should perform two Sajdat-us-Sahv. When a person has any of the above valid doubts, he should not peak the prayer, if the time forSalat is very short. He should act according to the rules given above.
But if there is ample time forSalat, he can peak the prayer and repeat it from the begining. Method of OfferingSalat-ul-Ihtiyat A person, for whom it is obligatory to offerSalat-ul-y'Ihtiyat, should make its intention immediately after the Salam of prayer, nad pronounce Takbir and recite al-Hamd and then perform Ruku and two Sajdah. Now, if he has to perform only one Rak'ah ofSalat-ul-Ihtiyat, he should recite Tashahhud and Salam of the prayer after two Sajdah.
If it is obligatory for him to perform 2 Rak'ahs ofSalat-ul-Ihtiyat, he should perform, after the 2 Sajdah, another Rak'ah like the first one, nad then complete with Tashahhud and Salam. 605.Salat-ul-Ihtiyat does not have other Surah and Qunut, and its intention should not be uttered and as an obligatory precaurtion, al-Hamd should be offered silently.
If a person realises before startingSalat-ul-Ihtiyat that the prayer which he had offered was correct, he need not offer it, and if he realises this duringSalat-ul-Ihtiyat, he need not complete it. As far as Rak'ahs ofSalat are concerned, probability or strong feeling about it will be treated at the same level as certainty. For example, if a person does not know for certain whehter he has offered 1 Rak'ah 2, and has a strong feeling that he has offered 2 Rak'ahs, he should decide in its favour.
And if in a prayer of 4 Rak'ahs, he strongly feels that he has offered 4 Rak'ahs, he should not offerSalat-ul-Ihtiyat. But in the matter of acts ofSalat, probability has the position of doubt. Hence, if he feels that probably he has performed Ruku, and if he has not yet entered Sajdah, he should perform the Ruku. And if he thinks that he has not recited al-Hamd, and has already stready started the other Surah he should ignore his doubt and his prayer is in order.
There is no difference between the rules of doubt, forgetting, and probability or strong feeling, regardless of it occurring in the daily obligatory prayers or other Wajib Salat.