In the second year of Hijrah, Muslims were commanded to observe fasting in the month of Ramadan every year.