حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، - رضى الله عنهما - عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ ذَكَرَ رَمَضَانَ فَقَالَ ‏"‏ لاَ تَصُومُوا حَتَّى تَرَوُا الْهِلاَلَ وَلاَ تُفْطِرُوا حَتَّى تَرَوْهُ فَإِنْ أُغْمِيَ عَلَيْكُمْ فَاقْدِرُوا لَهُ ‏"‏ ‏.‏
Translation
'Abdullah b. Umar (Allah be pleased with both of them) reported Allah's Measenger (ﷺ) as saying

When you see the new moon, observe fast, and when you see it (again) then break it, and if the sky is cloudy for you, then calculate it.