Narrated Abdullah ibn Umar:
The people looked for the moon, so I informed the Messenger of Allah (ﷺ) that I had sighted it. He fasted and commanded the people to fast.