Uqba bin Amir Juhani stood up when he should have remained seated. The people said, "Subhan Allah, Subhan Allah," but he did not sit down and continued standing. Toward the end of his prayer, he performed two prostrations while seated. After giving the salam, he said, "I heard you just now saying, 'Subhan Allah,' so that I would sit down, but what I did is the Sunnah."
عن عقبة بن عامر الجهني قام، وعليه جلوس، فقال الناس: سبحان الله سبحان الله، فلم يجلس، ومضى على قيامه، فلما كان في آخر صلاته سجد سجدتين، وهو جالس، فلما سلم قال: إني سمعتكم آنفا تقولون: سبحان الله، لكيما أجلس، لكن السنة الذي صنعت.
Harith bin Abu Usama related it in Bughyat Bahith (187), and Hakim (1/325), both from the route of Yazid bin Abu Habib, that he heard Abdul-Rahman bin Sahammasa Mahri say, "Uqba bin Amir led us in prayer," and he mentioned something similar, with the wording being Hakim's. Hakim said, "Sahih according to the criteria of the two Shaikhs." I say, the correct view is that it meets the criteria of Muslim alone, for Abdul-Rahman bin Sahammasa, with the shin vocalized as a kasra, is among the narrators of Muslim and is reliable. It appears that the incident occurred with both Amr bin As and Uqba bin Amir, and that Abdul-Rahman bin Sahammasa had been present at the prayer with both of them together.