وعنه عن فضالة عن العلا عن ابن أبي يعفور قال سألت أبا عبد الله عليه السلام عن الرجل يصلي الركعتين من المكتوبة فلا يجلس فيهما حتى يركع فقال يتم صلاته ثم يسلم ويسجد سجدتي السهو وهو جالس قبل أن يتكلم
And from him, from Fadalah, from al-‘Ala’, from Ibn Abi Ya‘fur, who said:
I asked Abu Abdillah عليه السلام, peace be upon him, about a man who performs the two rak‘ahs of the obligatory prayer and does not sit in them until he bows (in the third rak‘ah). Imam عليه السلام said: "He should complete his prayer, then give the salam, and perform the two prostrations of forgetfulness (sajdatay al-sahw) while he is seated, before he speaks."
Ali Akbar al-Ghaffari
Tahdhīb al-Aḥkām fī Sharḥ al-Muqniʿah, vol. 2, p. 168