Full Sharh — Mishkat al-Masabih 1122
وَعَنْ مَكْحُولٍ يَبْلُغُ بِهِ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ صَلَّى بَعْدَ الْمَغْرِبِ قَبْلَ أَنْ يَتَكَلَّمَ رَكْعَتَيْنِ وَفِي رِوَايَةٍ أَرْبَعَ رَكَعَاتٍ رُفِعَتْ صَلَاتُهُ فِي عِلِّيِّينَ» . مُرْسلا وَعَن حُذَيْفَة نَحْوَهُ وَزَادَ فَكَانَ يَقُولُ: «عَجِّلُوا الرَّكْعَتَيْنِ بَعْدَ الْمَغْرِبِ فَإِنَّهُمَا تُرْفَعَانِ مَعَ الْمَكْتُوبَةِ» رَوَاهُمَا رَزِينٌ وَرَوَى الْبَيْهَقِيُّ الزِّيَادَةَ عَنْهُ نَحْوَهَا فِي شُعَبِ الْإِيمَان
English Translation
Makhul, tracing it back, told how God’s Messenger said, “If anyone before engaging in conversation after the sunset prayer prays two rak'as (four rak'as according to another version), his prayer will be taken up to ‘Illiyun.” It is given in mursal form. Hudhaifa has something similar, adding that he used to say, “Hasten the two rak'as after the sunset prayer, for they will be taken up along with the prescribed prayer.” Razin transmitted them both, and Baihaqi transmitted something to the same effect as the addition in Shu'ab al-iman.
Source
Mishkat al-Masabih(مشكاة المصابيح)
Prayer
Hadith Number
1122