Husayn bin al-Harith al-Jadali (may Allah have mercy on him) narrates: The governor of Makkah addressed us and adjured the people, asking: "Who saw the crescent moon on such-and-such a day?" Then he said: "The Messenger of Allah (peace and blessings be upon him) took a pledge from us that we perform the rites (of Hajj) upon sighting the moon, and that if we do not see it ourselves and two upright witnesses testify, we perform the rites on the basis of their testimony." (Abu Malik al-Ashja'i said:) I asked Husayn (may Allah have mercy on him): "Who was the governor of Makkah?" He said: "He was al-Harith bin Hatib, the brother of Muhammad bin Hatib." Then the governor said: "Among you are people who know more about Allah and His Messenger (peace and blessings be upon him) than I do, and they heard this from the Messenger of Allah (peace and blessings be upon him) himself," and he pointed with his hand to a man. Husayn (may Allah have mercy on him) said: "I asked an elderly man sitting beside me: 'Who is the one the governor pointed to?' He said: 'This is Sayyiduna Abdullah bin Umar bin al-Khattab (may Allah be pleased with them both), and he knows more about Allah and His Messenger (peace and blessings be upon him) than the governor.' So we came to Sayyiduna Ibn Umar (may Allah be pleased with them both), and he said: 'The Messenger of Allah (peace and blessings be upon him) commanded us to do exactly that.'"
Imam Abu Dawud (may Allah have mercy on him) narrated it from Muhammad bin Abd al-Rahim, from Sa'id bin Sulayman.