Sunan an-Nasa'i 1260
Grading supplied with this record: Hasan (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ نَسِيَ شَيْئًا مِنْ صَلاَتِهِ فَلْيَسْجُدْ مِثْلَ هَاتَيْنِ السَّجْدَتَيْنِ "
It was narrated from Muhammad bin Yusuf, the freed slave of Uthman, from his father Yusuf, that:
Mu'awiyah prayed in front of them, and he stood up during the prayer when he should have sat. The people said tasbih, but he remained standing, then he prostrated twice while he was sitting, after he completed the prayer. Then he sat on the Minbar and said: 'I heard the Messenger of Allah (ﷺ) say: 'Whoever forgets something in his prayer, let him prostrate twice like this.'
Full reference and source
Sunan an-Nasa'i 1260 In-book : Book 13, Hadith 82 English translation : Vol. 2, Book 13, Hadith 1261
View source on Sunnah.com (opens in a new tab)