يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُتِبَ عَلَيْكُمُ ٱلصِّيَامُ كَمَا كُتِبَ عَلَى ٱلَّذِينَ مِن قَبْلِكُمْ لَعَلَّكُمْ تَتَّقُونَ Qur’an Al-Baqara (2:183)Ya ayyuha allatheena amanoo kutiba AAalaykumu alssiyamu kama kutiba AAala allatheena min qablikum laAAallakum tattaqoona
i.e., the followers of previous prophets.
As it was prescribed: this does not mean that the Muslim fast is like the other fasts previously observed, in the number of days, in the time or manner of the fast, or in other incidents; it only means that the principle of self-denial by fasting is not a new one.