“We broke our fast on a cloudy day at the time of the Messenger of Allah ﷺ, then the sun appeared.” I (one of the narrators) said to Hisham: "Were they commanded to make up for that day?" He said: "It had to be made up." (According to Hisham's opinion). (Using translation from Ibn Mājah 1674)
أَفْطَرْنَا عَلَى عَهْدِ رَسُولِ اللهِ ﷺ فِي يَوْمِ غَيْمٍ فِي رَمَضَانَ ثُمَّ طَلَعَتِ الشَّمْسُ قُلْتُ لِهِشَامٍ أُمِرُوا بِالْقَضَاءِ؟ قَالَ وَبُدٌّ مِنْ ذَاكَ