Sunan Abi Dawud, Book 11, Hadith 227 (Abu Dawud 1948)

Narrated AbuBakrah:

The Prophet (ﷺ) gave a sermon during his hajj and said: Time has completed a cycle and assumed the form of the day when Allah created the heavens and the earth. The year contains twelve months of which four are sacred, three of them consecutive, viz. Dhul-Qa'dah, Dhul-Hijjah and Muharram and also Rajab of Mudar which comes between Jumadah and Sha'ban.