Praise be to Allaah.
It is permissible to use telescopes etc. to sight the moon, but it is not permissible to rely on astronomical data to confirm the beginning or end of the blessed month of Ramadaan, because Allaah has not prescribed that for us in His Book or in the Sunnah of His Prophet (peace and blessings of Allaah be upon him). What He has prescribed for us is to confirm the beginning and end of Ramadaan by sighting the new moon of Ramadaan to start fasting, and the new moon of Shawwaal to end the fast and gather to offer the Eid prayers. Allaah has made the new moons to mark fixed periods of time for mankind and for the Hajj, so it is not permissible for Muslims to use any other method to determine the times for acts of worship such as fasting, celebrating Eid, performing Hajj, fasting for two months as expiation (kafaarah) for killing someone by mistake or divorcing one’s wife by zihaar, and so on. Allaah says (interpretation of the meanings):
“… So whoever among you sights (the crescent on the first night of) the month (of Ramadaan), he must observe sawm (fast) that month…” [al-Baqarah 2:185]
“They ask you (O Muhammad) about the new moons. Say: these are signs to mark fixed periods of time for mankind and for the pilgrimage…” [al-Baqarah 2:189]
The Prophet (peace and blessings of Allaah be upon him) said: “Fast when you see it [the new moon] and stop fasting when you see it, and if it is cloudy then complete the month with thirty days.” On this basis, the one who does not see the new moon from the time it rises on a clear or cloudy night must complete the month (of Sha’baan) with thirty days. (Fataawa al-Lajnah al-Daa’imah, 10/100). This is the case if the sighting of the new moon is not confirmed in another country; if the moon is sighted according to the guidelines of Sharee’ah, then fasting is obligatory, according to the majority of scholars. And Allaah knows best.