حَدَّثَنَا الْحَسَنُ بْنُ عَمْرٍو، عَنْ عَبْدِ اللَّهِ بْنِ الْوَلِيدِ، عَنْ سُفْيَانَ، عَنْ جَابِرٍ، - يَعْنِي الْجُعْفِيَّ - قَالَ حَدَّثَنَا الْمُغِيرَةُ بْنُ شُبَيْلٍ الأَحْمَسِيُّ، عَنْ قَيْسِ بْنِ أَبِي حَازِمٍ، عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِذَا قَامَ الإِمَامُ فِي الرَّكْعَتَيْنِ فَإِنْ ذَكَرَ قَبْلَ أَنْ يَسْتَوِيَ قَائِمًا فَلْيَجْلِسْ فَإِنِ اسْتَوَى قَائِمًا فَلاَ يَجْلِسْ وَيَسْجُدُ سَجْدَتَىِ السَّهْوِ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ وَلَيْسَ فِي كِتَابِي عَنْ جَابِرٍ الْجُعْفِيِّ إِلاَّ هَذَا الْحَدِيثُ ‏.‏

Narrated Al-Mughirah ibn Shu'bah: The Prophet (PBUH) said: When an imam stands up at the end of two rak'ahs , if he remembers before standing straight up, he should sit down, but if he stands straight up, he must not sit down, but perform the two prostrations of forgetfulness. Abu Dawud said: I have not narrated in this book of mine any hadith from Jabir Al-Ju'fi (one of the narrators) except this one. Translation Not Available

Book Ref: Sunan Abi Dawud Book 2 Hadith 1036
Web Ref:  Sunan Abi Dawud Book 3 Hadith 1031