Maghrib is the sunset prayer, the fourth of the five daily prayers, with three obligatory rak‘ahs.
When does Maghrib begin?
Maghrib begins as soon as the sun has completely set, when its upper edge disappears below the horizon. Timetables calculate this with an allowance for atmospheric refraction, which makes the sun appear slightly higher than it really is. Some authorities add a few minutes of precaution, for example the Dubai method.
When does Maghrib end?
Maghrib lasts until the red twilight has disappeared, which is the start of Isha. It is the shortest prayer period of the day, often only 70 to 100 minutes, so it is recommended to pray it promptly.
Maghrib and Iftar
During Ramadan and other fasts, the fast is broken at Maghrib. The Iftar time shown on each city page is therefore the same as the Maghrib time. It is a sunnah to break the fast quickly once the sun has set, traditionally with dates and water, and then to pray Maghrib.
Elevation and Maghrib
From high buildings or mountains the sun is visible a little longer. Standard timetables are calculated for ground level, which is what local mosques use.