The names of these sacred months are mentioned in an authentic hadith said by the Prophet (peace and blessings be upon him) in the Farewell Pilgrimage. According to this hadith, the sacred months are four, three in succession—that is, Dhul-Qi`dah, Dhul-Hijjah, and Muharram—and the fourth is Rajab, which comes between Jumada Thani and Sha`ban.
According to the above verse, Allah Almighty has ordered the Muslims not to wrong themselves (or others), especially in these sacred months. So no fighting between tribes was to be waged during these months, so that people would guarantee that the way to the Sacred House be safe. This is indicated by Almighty Allah’s saying in another verse: (Then, when the sacred months have passed, slay the idolaters wherever ye find them) (At-Tawbah 9: 5).