All the previous ah?d?th affirm the prophet’s ( - صلى الله عليه وسلم -) continuous practice for Suj?d As-Sahwu and that he ( - صلى الله عليه وسلم -) never abandoned it when the need exists; the thing which affirms its being obligatory as Al-Jumh?r and the three great Im?ms: Ahmad, M?lik and Ab? Han?fah held. Those who held the opposite opinion depend on no [comparably] hard evidence.
[9/ 21] Mistakes regarding the manner of performing Suj?d As-Sahwu:
The Fuqah?’ differed regarding the application of all the ah?d?th [that deal with the manner of doing Suj?d As-Sahwu]; some held that it should be always done before the Tasl?m regardless of the kind of forgetfulness that takes place. Others held that it should be always done after Tasl?m. The soundest of all opinions is the one Ibn Taymiyyah held and stated in his “Fat?w?” (vol. 23/ p. 24): ‘The timing of Suj?d As-Sahwu differs according to the part of Sal?t one forgets or doubts to have done. This is one of Ahmad’s views and M?lik’s opinion is relatively similar to it. Whoever forgets to do the first Tashahhud, should do Suj?d As-Sahwu before Tasl?m and whoever double performs any part of Sal?t should do Suj?d As-Sahwu after Tasl?m. As for doubting whether a certain part of Sal?t has been done, one should do Suj?d As-Sahwu after Tasl?m if one doubts doing a certain part of Sal?t then became sure that he has actually done it. In case one could not remember, then built on what he is sure to have done then he should do Suj?d As-Sahwu before reciting Tasl?m. If one recited Tasl?m and remembered that a Rak’ah or two were missed, he should perform the missing part of the Sal?t then does Suj?d As-Sahwu after reciting Tasl?m’.
Ibn Taymiyyah then added, ‘this opinion encompasses all the ah?d?th and the rules of proper analogy could be used on cases for which there is no Shar‘ text available’.
Those on whom Suj?d As-Sahwu is an obligation after Tasl?m might sometimes forget doing it immediately after Tasl?m. Some Fuqah?’ said that if one remembers doing Suj?d As-Sahwu after a