It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings be upon him) said: "Begin fasting upon sighting the moon, and celebrate Eid upon sighting the moon. If the moon is not visible and the sky is cloudy, then complete the count of thirty days."