Geography & context
Ahfir (أحفير) is a border town in the far north-east of Morocco, in the Oriental region (province of Berkane), near the Mediterranean and the Algerian border. Located at roughly 34.95° north latitude and 2.10° west longitude, in an agricultural plain, it has a Mediterranean climate: mild winters, hot summers. A crossroads town near Saïdia and Berkane, Ahfir sees its high latitude and eastern position give its prayer times a marked seasonal swing.
History & religious heritage
Ahfir is a border town of the Oriental, long tied to exchange on both sides of the border and to the agriculture of the Triffa plains. Near the Mediterranean coast and the lower Moulouya, it is a stop on the axis linking Berkane to Oujda. Religious practice here follows the Maliki rite.
Religious life in Ahfir
Religious life in Ahfir sits within the Maliki Islamic tradition of the Oriental, carried by a network of neighbourhood mosques. The Friday prayer brings together farmers and residents. Ramadan is lived with a strong communal dimension. Several mosques bear the names of the Prophet's companions, such as Ali, or evoke guidance and victory.
Hijri calendar & local specifics
As everywhere in Morocco, the Hijri calendar in Ahfir follows rukyat, the official sighting of the crescent moon announced by the Ministry of Habous. This method can produce a one-day difference from the Saudi calendar, notably for Ramadan and the two Eids. During Ramadan, Morocco suspends summer time, shifting all prayer times by about an hour for the duration of the month.
Climate & effect on prayer times
The high latitude (~34.9° N) and the eastern position give Ahfir prayer times with a marked seasonal swing. In winter, Fajr is observed around 06:20 and Maghrib around 17:30; in summer, Fajr falls around 04:05 and Isha around 21:55–22:25 depending on the method. Located in the far east of the country, the town has some of the earliest sunrises and sunsets in Morocco. The published times follow the Ministry of Habous method.
Notable mosques
Ahfir has several neighbourhood mosques. Here are some of the most notable.
'Badr' evokes the first great victory of the Muslims. A busy mosque, on the N2.
'Al-Masjid al-Aadam' ('the great mosque'), one of the town's main places of prayer.
A mosque dedicated to Ali ibn Abi Talib, cousin and son-in-law of the Prophet, the fourth rightly-guided caliph.
'Al-Hidaya' means divine guidance. A neighbourhood mosque in Ahfir.
Content verified on 18 September 2026.