The Messenger of Allah (ﷺ) said: Pray two rak'ahs before the Maghrib prayer. He then said (again): Pray two rak'ahs before the Maghrib prayer, it applies to those who wish to do so. That was because he feared that the people might treat it as sunnah.
Reference: Sunan Abi Dawud 1281 In-book : Book 5, Hadith 32 English translation : Book 5, Hadith 1276
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.