"Fast when you see it, and stop fasting when you see it, and if clouds prevent you from seeing it, then complete the number, and do not fast ahead of Ramadan." (Using translation from Nasāʾī 2129)
قَالَ رَسُولُ اللهِ ﷺ صُومُوا لِرُؤْيَتِهِ وَأَفْطِرُوا لِرُؤْيَتِهِ فَإِنْ حَالَ بَيْنَكُمْ وَبَيْنَهُ سَحَابٌ فَكَمِّلُوا الْعِدَّةَ ثَلاثِينَ وَلا تَسْتَقْبِلُوا الشَّهْرَ اسْتِقْبَالًا قَالَ حَاتِمٌ يَعْنِي عِدَّةَ شَعْبَانَ