´It was narrated from Ibn Buhainah that:` The Prophet (ﷺ) prayed, then he stood up after two rak'ahs while he was supposed to sit, and he continued his prayer. Then at the end of his prayer, he performed two prostrations before the Salam, then he said the Salam.
Hadith Referenceسنن نسائي / كتاب التطبيق / 1178
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه
´It was narrated from Ibn Buhainah that:` The Prophet (ﷺ) prayed and stood up following the first two rak'ahs, and they said (SubhanAllah). He carried on, then when he finished his prayer he performed two prostrations, then he said the Salam.