Shaykh Muhammad Farooq Rafi
Benefits:
➊ These ahadith are evidence for the position of Malik, al-Shafi'i, Ahmad and the majority of scholars that whoever prays an extra rak'ah of the prayer out of forgetfulness, his prayer will not be invalid.
Rather, even if he learns after saying the salam that he prayed an extra rak'ah, his prayer will still be considered valid.
And if he learns of it soon after saying the salam, he will perform the two prostrations of forgetfulness (sajdat al-sahw); and if a long time has passed, then the preponderant view in our opinion is that he will not perform the prostrations of forgetfulness. [Sharh al-Nawawi: 5/63]
➋ When something is added to the prayer out of forgetfulness, the prostrations of forgetfulness after the salam are recommended (mustahabb).
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 1057