Amongst Sunnis, Salafis allow the combining of two consecutive prayers (Maghrib & Isha'a, Dhuhr & 'Asr) for a wide range of reasons; such as when various needs arise or due to any difficulty (taking precedence from Hanbali and Shafiite schools).
The formal daily prayers of Islam comprise different numbers of units, called rakat.
The Maghrib prayer has three obligatory (fard) rak'at and two sunnah and two non-obligatory nafls.
To be considered valid salat, the formal daily prayers must each be performed within their own prescribed time period.
During Ramadan, the maghrib prayer marks the end of the fast and is the start of the iftar.