Key Events in Islamic History by Hijri Year

Islamic calendar6 min read

The Hijri calendar counts its years from the Hijrah, the Prophet's migration from Mecca to Medina. This timeline lists the main events of the Medina years by Hijri year (AH), with approximate Gregorian years. Historians report a few dates with small differences, and these are noted where they matter.

1

How the Hijri count began

Sahl ibn Sa'd (may Allah be pleased with him) said that the Companions did not count the years from the Prophet's mission or from his death, but only from his arrival in Medina (Sahih al-Bukhari 3934). It is reported that in the time of the caliph Umar ibn al-Khattab (may Allah be pleased with him) the Companions agreed to use the Hijrah as the starting point of the calendar, with Muharram as the first month. This is commonly dated to around 17 AH. The months themselves were older: Allah says that the number of months with Him is twelve (Quran 9:36).

The first day of 1 AH fell in July 622 CE. The Hijri year is lunar and lasts about 354 or 355 days, so its dates move about eleven days earlier through the Gregorian year each year. The Gregorian years below are therefore approximate, and a Hijri date converter is the best way to match a particular day.

2

1 to 3 AH: settling in Medina

  • 1 AH (622 CE): The Hijrah. The Prophet ﷺ reached Medina in Rabi al-Awwal and first stayed with his maternal relatives among the Ansar (Sahih al-Bukhari 40). The Prophet's Mosque was built, and bonds of brotherhood were formed between the Muhajirun and the Ansar.
  • 2 AH (623-624 CE): The direction of prayer changed from Bayt al-Maqdis to the Kaaba, after about sixteen or seventeen months in Medina (Sahih al-Bukhari 40). Allah said: "So turn your face toward al-Masjid al-Haram" (Quran 2:144). Fasting in Ramadan was prescribed (Quran 2:185). In Ramadan the Muslims won the Battle of Badr, with a little over three hundred men (Sahih al-Bukhari 3959). Allah reminded them: "Already had Allah given you victory at Badr while you were few in number" (Quran 3:123).
  • 3 AH (625 CE): The Battle of Uhud in Shawwal. The Prophet ﷺ placed archers on the hill and told them to hold their position, and the Muslims suffered losses when it was left (Sahih al-Bukhari 4043). Allah said: "And these days We alternate among the people" (Quran 3:140).

3

5 to 6 AH: the Trench and Hudaybiyyah

  • 5 AH (627 CE): The Battle of the Trench in Shawwal, when the Muslims defended Medina against a large alliance of tribes. Some historians place it in 4 AH. Allah reminded the believers: "We sent upon them a wind and armies you did not see" (Quran 33:9).
  • 6 AH (628 CE): Hudaybiyyah. In Dhul Qa'dah, one of the sacred months, the Prophet ﷺ set out for Umrah with more than a thousand Companions (Sahih al-Bukhari 4178). Quraysh stopped them, and a treaty was written with Suhayl ibn Amr (Sahih al-Bukhari 2731), commonly reported as a truce of ten years. Surah al-Fath was revealed on a journey during this time, and scholars connect it with the return from Hudaybiyyah. The Prophet ﷺ said that it was dearer to him than everything the sun rises upon, and he recited: "Indeed, We have given you a clear conquest" (Quran 48:1; Sahih al-Bukhari 4177).

4

7 to 9 AH: Khaybar, Mecca and Tabuk

  • 7 AH (628-629 CE): The expedition to Khaybar early in the year. In Dhul Qa'dah the Prophet ﷺ and his Companions performed the Umrah that had been prevented the year before, often called the Umrah of Qada'.
  • 8 AH (629-630 CE): The Battle of Mu'tah in Jumada al-Awwal. In Ramadan the Prophet ﷺ marched on Mecca (Sahih al-Bukhari 4275), and Mecca came under Muslim control, the event known as the Conquest of Mecca. The Battle of Hunayn followed in Shawwal, and the siege of Ta'if began then and continued into Dhul Qa'dah.
  • 9 AH (630-631 CE): The Tabuk expedition in Rajab. Many delegations came to Medina that year, which is often called the Year of Delegations. Abu Bakr led the Hajj, and an announcement was made to the people on the Day of Sacrifice (Quran 9:3).

5

10 to 11 AH: the Farewell Hajj and the passing of the Prophet

  • 10 AH (631-632 CE): The Farewell Hajj in Dhul Hijjah, the only Hajj the Prophet ﷺ performed after the Hijrah. It is known by this name because he bade the people farewell during it (Sahih al-Bukhari 4402). On the Day of Arafah, a Friday, the verse was revealed: "This day I have perfected for you your religion and completed My favour upon you" (Quran 5:3; Sahih al-Bukhari 45 and 4407).
  • 11 AH (632 CE): The year of the Prophet's death. Surah an-Nasr, revealed in the last period of his life, begins: "When the victory of Allah has come and the conquest" (Quran 110:1-3). Ibn Abbas (may Allah be pleased with him and his father) explained that it announced the nearness of the Prophet's death, and Umar agreed with him (Sahih al-Bukhari 4970). The Prophet ﷺ passed away on a Monday (Sahih al-Bukhari 1387) in Rabi al-Awwal 11 AH, in about June 632 CE. Most scholars say it was the 12th of the month, and some historians report other days.

6

After the Prophet and notes on the dates

After the Prophet ﷺ the community was led by the four Rightly Guided Caliphs: Abu Bakr (11-13 AH), Umar ibn al-Khattab (13-23 AH), Uthman ibn Affan (23-35 AH) and Ali ibn Abi Talib (35-40 AH).

  • Months and years: some events, such as the Trench, are dated differently by historians, and many exact days of the month are reported in more than one way.
  • Gregorian equivalents: they are approximate because the Hijri year is shorter and because the start of a month depends on moon sighting.
  • Sources: the most secure facts are those that appear in the Quran and in the sound hadith collections, such as the Conquest in Ramadan, the Monday of the Prophet's death and the revelation at Arafah.

Sources

Common questions

Why does the Hijri calendar start from the Hijrah and not the Prophet's birth?

The Hijrah was the turning point when the Muslims founded their community in Medina and could practise their religion openly. The Companions counted the years from the Prophet's arrival in Medina (Sahih al-Bukhari 3934).

Did the Prophet use Hijri year numbers?

The twelve lunar months were already known (Quran 9:36), but the numbering of years from the Hijrah began after the Prophet's death, in the time of the caliph Umar.

What does AH mean?

AH stands for Anno Hegirae, "in the year of the Hijrah". In Arabic it is written with the letter "ha" after the year number. CE means Common Era and refers to the Gregorian calendar.

Why are Gregorian equivalents only approximate?

The Hijri year is about eleven days shorter than the Gregorian year, and each month begins with the sighting of the moon, which can differ by a day between places. Historians also report some dates differently, so the Gregorian years given here are approximate.