يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُتِبَ عَلَيْكُمُ ٱلصِّيَامُ كَمَا كُتِبَ عَلَى ٱلَّذِينَ مِن قَبْلِكُمْ لَعَلَّكُمْ تَتَّقُونَ ١٨٣
O you who have believed, decreed upon you is fasting as it was decreed upon those before you that you may become righteous -
Saheeh International · QuranEnc v1.1.2
Another translation: Al-Hilali & Muhsin Khan · QuranEnc v1.1.2
183. O you who believe! Observing As-Saum (the fasting)[36] is prescribed for you as it was prescribed for those before you, that you may become Al-Muttaqûn (the pious - See V.2: 2).
[36] (V.2:183) As-Saum means fasting i.e. not to eat or drink or have sexual relations etc. from the Adhân of the Fajr (early morning) prayer till the sunset.