The Hijrah and the Origin of the Hijri Calendar

Islamic calendar6 min read

The Hijri calendar counts years from the Prophet's migration (Hijrah) from Mecca to Medina. It was adopted in the time of Umar ibn al-Khattab, may Allah be pleased with him, and the first month of its year is Muharram. This article explains how the Companions made this decision, why they chose the Hijrah, and how the calendar relates to worship.

1

The lunar months in the Quran

The Islamic calendar is based on the moon. Allah says that the number of months with Him is twelve in His Book, from the day that He created the heavens and the earth, and that four of them are sacred (Quran 9:36). He also says that the new moons are measures of time for the people and for the Hajj (Quran 2:189), and that He made the moon in phases so that people can know the number of years and the reckoning of time (Quran 10:5).

The Prophet ﷺ confirmed this. He said that time has come round to the same shape as on the day Allah created the heavens and the earth, that the year is twelve months, of which four are sacred: three in a row, which are Dhul-Qa'dah, Dhul-Hijjah and Muharram, and Rajab (Sahih al-Bukhari 3197). The Quran also condemns the practice of postponing a sacred month, which the Arabs had used to change the order of the months (Quran 9:37). The months therefore keep their real order.

2

Before the Hijri calendar

In the time of the Prophet ﷺ there was no numbered year count for the Muslims. The Arabs used to name a year after a notable event, such as the Year of the Elephant. In Medina the years were also named after events.

Sahl ibn Sa'd (may Allah be pleased with him) reported that the Companions did not count from the Prophet's mission or from his death. They counted only from his arrival in Medina (Sahih al-Bukhari 3934). This report shows that the idea of counting from the Hijrah came from the early Muslims themselves.

3

The decision of Umar

The Muslim state grew quickly, and official letters and records needed dates. According to well-known historical accounts, which are not in the two Sahih collections and have chains of different strength, a letter from a governor reached Umar saying that the letters of the caliph came without a date. Umar then consulted the leading Companions in about the seventeenth year after the Hijrah.

The accounts mention that the options were the birth of the Prophet ﷺ, his mission, the Hijrah and his death. The Companions agreed on the Hijrah. Reasons that are mentioned include that the exact dates of the birth and the mission were not agreed on, that the death was a time of grief, and that the Hijrah was a clear event that separated the period of persecution from the period in which the community could stand on its own and establish its laws openly.

4

Why the year begins with Muharram

The Hijrah itself took place in Rabi' al-Awwal, the third month. The Companions nevertheless chose Muharram as the first month. The accounts say that they considered other months, including Ramadan and Rabi' al-Awwal, and settled on Muharram for these reasons: it follows the Hajj, when the people return to their homes, it is one of the four sacred months, and the decision to migrate had been made in the months before.

Muharram also has a great status in the Sunnah. The Prophet ﷺ said that the best fasting after Ramadan is in the month of Allah, Muharram (Sahih Muslim 1163). Because the count of the Hijri years begins with the month before the actual migration, the first of Muharram of year 1 fell about two months before the departure of the Prophet ﷺ from Mecca, and it is usually dated to the middle of July 622 CE.

5

Moon sighting and the length of the year

A Hijri year has twelve lunar months of 29 or 30 days, so it is about 354 or 355 days. It is about eleven days shorter than the solar year, so the months move through the seasons. Ramadan, for example, can fall in summer in some years and in winter in others, and this gives Muslims a variety of experiences in fasting.

The beginning of each month depends on the sighting of the new moon. The Prophet ﷺ said: "Do not fast until you see the crescent, and do not break the fast until you see it, and if it is hidden from you, then estimate it" (Sahih al-Bukhari 1906). Scholars differ on how the crescent is determined. Some rely on a local sighting, some accept sightings from other regions, and some allow astronomical calculation. As a result, the dates may differ by a day between regions or communities. The Quran links the fast to the sighting of the month, as it says that whoever witnesses the month should fast it (Quran 2:185).

6

The Hijri new year today

The Hijri calendar is used for the dates of worship, such as Ramadan, the two Eids, Hajj and the sacred months, and for the voluntary fasts that are tied to dates. It is a good practice for Muslims to know the Hijri date and to teach it to their children.

There is no sound text that prescribes a special prayer, du'a, festival or practice for the night or the day of the first of Muharram. Muslims can take the new year as a time to reflect and to renew their intentions. The special merit of Muharram is in the fasting that the Prophet ﷺ encouraged, including the fast of Ashura on the tenth day, which he fasted and told the Muslims to fast (Sahih al-Bukhari 2004).

Sources

Common questions

Who started the Hijri calendar?

It was established in the caliphate of Umar ibn al-Khattab, about seventeen years after the Hijrah, by agreement with the Companions. This is known from historical accounts. Sahih al-Bukhari 3934 shows that the Companions counted from the arrival of the Prophet ﷺ in Medina.

Why is Muharram the first month if the Hijrah was in Rabi' al-Awwal?

The accounts say that Muharram was chosen because it is a sacred month that follows the Hajj, and because the decision to migrate had been made before it. The year therefore begins before the actual departure.

Is there a special celebration for the Islamic new year?

No sound text prescribes a prayer, du'a or celebration for it. What is established is the merit of fasting in Muharram (Sahih Muslim 1163).

Why do Hijri dates sometimes differ between countries?

Because the start of each month depends on sighting the new moon or on calculation, and scholars differ about local and global sighting (Sahih al-Bukhari 1906).