أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ هُرْمُزَ، عَنْ عَبْدِ اللَّهِ ابْنِ بُحَيْنَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم أَنَّهُ قَامَ فِي الصَّلاَةِ وَعَلَيْهِ جُلُوسٌ فَسَجَدَ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَبْلَ التَّسْلِيمِ ‏.‏

It was narrated from 'Abdullah bin Buhainah that: The Messenger of Allah (PBUH) stood up during the prayer when he should have sat, so he prostrated twice while sitting, before the taslim. Translation Not Available

Book Ref: Sunan An Nisai Book 13 Hadith 1223
Web Ref:  Sunan An Nisai Vol 2 Book 13 Hadith 1224