Answer
The Hadiths, narrations of the teachings, actions, and sayings of the Prophet Muhammad, were first officially collected by Umar ibn Abd al-Aziz, the eighth Umayyad caliph, who ruled from 717 to 720 CE. Umar II's efforts to compile and preserve these oral traditions played a crucial role in ensuring the accuracy and dissemination of the Prophet's teachings, shaping Islamic scholarship and jurisprudence for generations to come.