Mishkat al-Masabih
Mishkat al-Masabih 1184, 1185
وَعَنْ مَكْحُولٍ يَبْلُغُ بِهِ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «مَنْ صَلَّى بَعْدَ الْمَغْرِبِ قَبْلَ أَنْ يَتَكَلَّمَ رَكْعَتَيْنِ وَفِي رِوَايَةٍ أَرْبَعَ رَكَعَاتٍ رُفِعَتْ صَلَاتُهُ فِي عِلِّيِّينَ» . مُرْسلا وَعَن حُذَيْفَة نَحْوَهُ وَزَادَ فَكَانَ يَقُولُ: «عَجِّلُوا الرَّكْعَتَيْنِ بَعْدَ الْمَغْرِبِ فَإِنَّهُمَا تُرْفَعَانِ مَعَ الْمَكْتُوبَةِ» رَوَاهُمَا رَزِينٌ وَرَوَى الْبَيْهَقِيُّ الزِّيَادَةَ عَنْهُ نَحْوَهَا فِي شُعَبِ الْإِيمَان
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Makhul, reporting this from the Prophet, peace and blessings be upon him, said: Whoever prays two rakahs after the sunset prayer before speaking, or four rakahs according to another version, will have his prayer raised to Illiyyin. This report is mursal.
A similar report is transmitted from Hudhayfah, who added that he used to say: Hasten to pray the two rakahs after the sunset prayer, for they are raised together with the prescribed prayer. Razin transmitted both reports, and al-Bayhaqi transmitted a similar version of the addition in Shuab al-Iman.