Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates: I heard the Prophet Muhammad (peace and blessings be upon him) say: "When you see it, then fast; when you see it, then celebrate Eid al-Fitr. If clouds cover it from you, then complete the counting."