The Prophet ﷺ said, "Pray before the Maghrib prayer." On the third time he added, "For whoever wishes," not wanting people to take it as an established sunnah.
حدثنا أبو معمر حدثنا عبد الوارث عن الحسين عن عبد الله بن بريدة قال حدثني
عن النبي ﷺ قال صلوا قبل صلاة المغرب قال في الثالثة لمن شاء كراهية أن يتخذها الناس سنة