There is a narrated with another chain that Abu Hurairah and As-Sa'id Al-Qari' would perform the prostrations of As-Sahw before the Taslim. Abu 'Eisa said:
The Hadith of Ibn Buhainah is a Hasan Hadith, and this is acted upon according to some of the people of knowledge. It is the opinion of Ash-Shafi'i, he held the view that all prostrations for As-Sahw were to be performed before the Salam, saying: "This one abrogates the other Ahadith" and he mentioned that the last action of the Prophet (ﷺ) was according to this. Ahmad and Ishaq said: "When a man stands up after two Rak'ah, then he performs the prostrations for As-Sahw before the Salam according to the Hadith of Ibn Buhainah." 'Abdullah bin Buhainah is 'Abdullah bin Malik Ibn Buhainah (because) Malik is his father and Buhainah is his mother. I was informed of this by Ishaq bin Mansur from 'Ali bin Al-Madini. Abu 'Eisa said: The people of knowledge differ over when a man is to perform the prostrations of As-Sahw, is it before the Salam or after it. Some of them thought that her performs them after the Salam. This is the view of Sufyan Ath-Thawri and the people of Al-Kufah. Some of them said he performs them before the Salam. This is the view of most of the Fuqaha among the people of Al-Madinah, like Yahya bin Sa'eed, Rabi'ah, and others. This is also the saying of Ash-Shafi'i. Some of them said when he adds to the Salat, then it is after the Salam, and when he leaves something out, then before the Salam. This is the view of Malik bin Anas. Ahmad said: "Whatever is reported from the Prophet (ﷺ) about the prostrations from As-Sahw then it is acted upon in either case." He saw that when one stands after Rak'ah then according to the Hadith of Ibn Buhainah, he is to perform the...