"We were with the Prophet [SAW] in a gathering and he said: 'Give me your pledge that you will not associate anything with Allah, you will not steal and you will not have unlawful sexual relations'- and then he recited the Verse to them. 'Whoever among you fulfills this pledge, his reward will be with Allah, and whoever commits any of those actions and Allah, the Mighty and Sublime, conceals him, it is up to Allah: If He wills, He will punish him, and if He wills, He will forgive him."
كُنَّا عِنْدَ النَّبِيِّ ﷺ فِي مَجْلِسٍ فَقَالَ تُبَايِعُونِي عَلَى أَنْ لاَ تُشْرِكُوا بِاللَّهِ شَيْئًا وَلاَ تَسْرِقُوا وَلاَ تَزْنُوا قَرَأَ عَلَيْهِمُ الآيَةَ فَمَنْ وَفَّى مِنْكُمْ فَأَجْرُهُ عَلَى اللَّهِ وَمَنْ أَصَابَ مِنْ ذَلِكَ شَيْئًا فَسَتَرَهُ اللَّهُ ﷻ فَهُوَ إِلَى اللَّهِ إِنْ شَاءَ عَذَّبَهُ وَإِنْ شَاءَ غَفَرَ لَهُ