It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "When you see the moon, then fast, and break your fast when you see the moon, and if it is cloudy, then estimate."