Sayyiduna Uqbah bin Amir (may Allah be pleased with him) stood up in the prayer when he was required to sit. The people said (as a reminder): "Subhan Allah, Subhan Allah," and he understood what they wanted. When he completed his prayer, he performed two prostrations while sitting, then said: "I did hear what you said; this is the Sunnah."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 14938