Hadith were evaluated and gathered into large collections during the 8th and 9th centuries, generations after the death of Muhammad, after the end of the era of the Rashidun Caliphate, over 1000 kilometers from where Muhammad lived.