NASAI 2118: from Abū Hurayrah —
: "The Messenger of Allah said: 'Fast when you see it and stop fasting when you see it, and if it is obscured from you (too cloudy), then count it as thirty (days).'"

النسائي ٢١١٨: عن ابو هريره —
قَالَ رَسُولُ اللَّهِ ﷺ صُومُوا لِرُؤْيَتِهِ وَأَفْطِرُوا لِرُؤْيَتِهِ فَإِنْ غُمَّ عَلَيْكُمْ فَاقْدُرُوا ثَلاَثِينَ


Sound (ʿAli Zaʾī)
Nasāʾī > Ṣawm (Fasting) > § Completing thirty days Of Sha'ban if it is obscured...
hadithunlocked.com