beforeFajronColorIcon Timed Sunan/ Maghrib Time/ ( and its count is 4 Sunan )
brightness_1 Praying two Rak‘ahs before Maghrib prayer.

‘Abdullāh Ibn Mughaffal Il-Muzaniy (ABPWH) narrated that the Prophet (PBUH) said, “Offer a prayer before Maghrib prayer,” and he said in the third time of his command, “… for any one who wishes,” so that people would not take it as a regular or assured Sunnah. (Al-Bukhāriy no. 1183)

It is also Sunnah to pray two Rak‘ahs between the Adthān and the Iqāmah of any of the daily obligatory prayers:

Praying any two Rak‘ahs of Sunnah would suffice for these two Rak‘ahs. This includes any two Rak‘ahs of regular Sunnah that can be performed at this time, such as the two Rak‘ahs of regular Sunnah before Fajr or Dthuhr. On the other hand, if a person is sitting in the mosque and for example the Adthān of ‘Asr or ‘Ishā’ is performed, and there is no specific regular Sunnah to be performed, it is still Sunnah to stand up and offer two Rak‘ahs of Sunnah between Adthān and Iqāmah.

This is proven by the following Hadeeth:

‘Abdullāh Ibn Mughaffal Al-Muzaniy (ABPWH) narrated that the Prophet (PBUH) said, “There is a prayer between every two Adthāns (Adthān and Iqāmah),” he said it three times and he added, “… for any one who wishes.” (Al-Bukhāriy no. 624, Muslim no. 838)

There is no doubt that the two Rak‘ahs before Maghrib or between Adthān and Iqāmah are not assured Sunan like the regular Sunan are, but they can rather be left sometimes. It is for this reason that the Prophet (PBUH) said, “… for any one who wishes,” to make sure that people do not consider them as a regular or assured Sunnah.