Abdullah ibn al-Muzanni reported: The Prophet, peace and blessings be upon him, said, “Pray before the sunset prayer.” The Prophet said on the third time, “For whomever wishes,” as he disliked for people to consider it an obligatory tradition.
Source: Ṣaḥīḥ al-Bukhārī 1183
Grade: Sahih (authentic) according to Al-Bukhari
عَنْ عَبْد اللَّهِ الْمُزَنِيّ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ صَلُّوا قَبْلَ صَلَاةِ الْمَغْرِبِ قَالَ فِي الثَّالِثَةِ لِمَنْ شَاءَ كَرَاهِيَةَ أَنْ يَتَّخِذَهَا النَّاسُ سُنَّةً
1183 صحيح البخاري كتاب التهجد باب الصلاة قبل المغرب