Sayyiduna Abdullah bin Buhaina (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) led us in one of the prayers, and in the second rak‘ah he stood up (without sitting for tashahhud). He was reminded by saying "Subhan Allah," but he continued with his prayer until he finished it and only the salam was left. So, before the salam, he performed two prostrations while sitting.