وَالْمُضِيِّ فِي الصَّلَاةِ إِذَا اسْتَوَى الْمُصَلِّي قَائِمًا، وَإِيجَابِ سَجْدَتَيِ السَّهْوِ عَلَى فَاعِلِهِ
And when the person praying stands up straight, he should continue the prayer; two prostrations of forgetfulness are obligatory upon such a person.