Hadith 1278

وَالدَّلِيلُ عَلَى مَا ذَكَرْتُ ، أَنَّ عَلِيَّ بْنَ حُجْرٍ حَدَّثَنَا ، قَالَ : حَدَّثَنَا إِسْمَاعِيلُ بْنُ جَعْفَرٍ ، حَدَّثَنَا مُحَمَّدٌ وَهُوَ ابْنُ أَبِي حَرْمَلَةَ ، عَنْ أَبِي سَلَمَةَ ، أَنَّهُ سَأَلَ عَائِشَةَ عَنِ السَّجْدَتَيْنِ اللَّتَيْنِ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُصَلِّيهِمَا بَعْدَ الْعَصْرِ فِي بَيْتِهَا ، قَالَتْ : كَانَ " يُصَلِّيهِمَا قَبْلَ الْعَصْرِ ثُمَّ إِنَّهُ شُغِلَ عَنْهُمَا أَوْ نَسِيَهُمَا فَصَلاهُمَا بَعْدَ الْعَصْرِ ، ثُمَّ أَثْبَتَهُمَا ، وَكَانَ إِذَا صَلَّى صَلاةً أَثْبَتَهَا "
It is narrated from Sayyiduna Abu Salamah (may Allah be pleased with him) that he asked Sayyidah Aisha (may Allah be pleased with her) about those two rak‘ahs which the Messenger of Allah (peace and blessings be upon him) used to perform in her house after ‘Asr. She replied that the Prophet (peace and blessings be upon him) used to offer those two rak‘ahs before ‘Asr. Then he became occupied or forgot to perform them, so he performed them after ‘Asr. After that, the Prophet (peace and blessings be upon him) always performed those two rak‘ahs, and whenever he (peace and blessings be upon him) performed any (nafl) prayer, he would always be consistent and regular in it.
Hadith Reference صحيح ابن خزيمه / جماع أبواب الأوقات التى ينهى عن صلاة التطوع فيهن / 1278
Hadith Takhrij صحيح مسلم