Surah Al-Baqarah (البقرة) · verse 183 (Medinan · Juz 2 · page 28)
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُتِبَ عَلَيْكُمُ ٱلصِّيَامُ كَمَا كُتِبَ عَلَى ٱلَّذِينَ مِن قَبْلِكُمْ لَعَلَّكُمْ تَتَّقُونَ ﴿183﴾
التفسير الميسر
يا أيها الذين صدَّقوا الله ورسوله وعملوا بشرعه، فرض الله عليكم الصيام كما فرضه على الأمم قبلكم؛ لعلكم تتقون ربكم، فتجعلون بينكم وبين المعاصي وقاية بطاعته وعبادته وحده
Sahih International
O you who have believed, decreed upon you is fasting as it was decreed upon those before you that you may become righteous
Marmaduke Pickthall
O ye who believe! Fasting is prescribed for you, even as it was prescribed for those before you, that ye may ward off (evil)
Abdullah Yusuf Ali
O ye who believe! Fasting is prescribed to you as it was prescribed to those before you, that ye may (learn) self-restraint