2. Ṣalāh (Ritual Prayer)
٢۔ كتاب الصلاة
The Prophet ﷺ 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.
قَالَ رَسُولُ اللَّهِ ﷺ إِذَا قَامَ الإِمَامُ فِي الرَّكْعَتَيْنِ فَإِنْ ذَكَرَ قَبْلَ أَنْ يَسْتَوِيَ قَائِمًا فَلْيَجْلِسْ فَإِنِ اسْتَوَى قَائِمًا فَلاَ يَجْلِسْ وَيَسْجُدُ سَجْدَتَىِ السَّهْوِ
Ziyad ibn Ilaqah said: Al-Mughirah ibn Shu'bah led us in prayer and he stood up at the end of two rak'ahs. We said: Glory be to Allah; he also said: Glory be to Allah, and he proceeded. When he finished the prayer and gave the salutation, he made two prostrations of forgetfulness. When he turned (to us) he said: I saw the Messenger of Allah ﷺ doing so as I did. Abu Dawud said: Ibn Abi Laila narrated this tradition in a similar manner from al-Shaibi from al-Mughirah b. Shu'bah. Abu 'Umais narrated it from Thabit b. 'Ubaid saying: "Al-Mughirah b. Shu'bah led us in prayer, like the tradition reported by Ziyad b. 'Illaqah. Abu Dawud said: Abu 'Umais is the brother of al-Mas'udi. And Sa'd b. Abi Waqqas did the same as done by al-Mughirah, 'Imran b. Husain, Dahhak b. Qais and Mu'awiyah b. Abi Sufyan. Ibn 'Abbas and 'Umar b. 'Abd al-'Aziz issued legel verdict to the same effect. Abu Dawud said: This applies to a person who stands up at the end of two rak'ahs and males prostration after giving the salutation.
سُبْحَانَ اللَّهِ وَمَضَى فَلَمَّا أَتَمَّ صَلاَتَهُ وَسَلَّمَ سَجَدَ سَجْدَتَىِ السَّهْوِ فَلَمَّا انْصَرَفَ قَالَ رَأَيْتُ رَسُولَ اللَّهِ ﷺ يَصْنَعُ كَمَا صَنَعْتُ
The Prophet ﷺ said: For each forgetfulness there are two prostrations after giving the salutation. No one except Amr (ibn Uthman) mentioned the words "from his father" (in the chain AbdurRahman ibn Jubayr ibn Nufayr from Thawban).
عَنِ النَّبِيِّ ﷺ قَالَ لِكُلِّ سَهْوٍ سَجْدَتَانِ بَعْدَ مَا يُسَلِّمُ لَمْ يَذْكُرْ عَنْ أَبِيهِ غَيْرُ عَمْرٍو