Bulugh al-Maram 356
وَعَنْ عَبْدِ اللَّهِ بْنِ مُغَفَّلٍ الْمُزَنِيِّ - رضي الله عنه - عَنِ النَّبِيِّ - صلى الله عليه وسلم - قَالَ: «صَلُّوا قَبْلَ الْمَغْرِبِ, صَلُّوا قَبْلَ الْمَغْرِبِ»، ثُمَّ قَالَ فِي الثَّالِثَةِ: «لِمَنْ شَاءَ» كَرَاهِيَةَ أَنْ يَتَّخِذَهَا النَّاسُ سُنَّةً. رَوَاهُ الْبُخَارِيُّ. وَفِي رِوَايَةِ ابْنِ حِبَّانَ: أَنَّ النَّبِيَّ - صلى الله عليه وسلم - صَلَّى قَبْلَ الْمَغْرِبِ رَكْعَتَيْنِ.
ʿAbdullah ibn Mughaffal al-Muzani, may Allah be pleased with him, reported from the Prophet ﷺ, who said: "Pray before Maghrib, pray before Maghrib." Then he said the third time: "for whoever wishes," disliking that people should take it as a [fixed] Sunnah. Reported by al-Bukhari. And in a narration of Ibn Hibban: The Prophet ﷺ prayed two rakʿahs before Maghrib.