[Machine] We were in Ramadan during the time of the Messenger of Allah ﷺ . Whoever wanted to fast, fasted, and whoever wanted to break the fast, broke it and made up for it by feeding a poor person until the verse was revealed: "So whoever sights [the new moon of] the month, let him fast it" (Surah Al-Baqarah 2:185).
كُنَّا فِي رَمَضَانَ فِي عَهْدِ رَسُولِ اللَّهِ ﷺ مَنْ شَاءَ صَامَ وَمَنْ شَاءَ أَفْطَرَ وَافْتَدَى بِطَعَامِ مِسْكِينٍ حَتَّى نَزَلَتِ الْآيَةُ {فَمَنْ شَهِدَ مِنْكُمُ الشَّهْرَ فَلْيَصُمْهُ} [البقرة 185] الْآيَةَ