Mishkat al-Masabih
Mishkat al-Masabih 18
وَعَنْ عُبَادَةَ بْنِ الصَّامِتِ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَحَوْلَهُ عِصَابَةٌ مِنْ أَصْحَابِهِ: " بَايَعُونِي عَلَى أَنْ لَا تُشْرِكُوا بِاللَّهِ شَيْئًا وَلَا تَسْرِقُوا وَلَا تَزْنُوا وَلَا تَقْتُلُوا أَوْلَادَكُمْ وَلَا تَأْتُوا بِبُهْتَانٍ تَفْتَرُونَهُ بَيْنَ أَيْدِيكُمْ وَأَرْجُلِكُمْ وَلَا تَعْصُوا فِي مَعْرُوفٍ فَمَنْ وَفَى مِنْكُمْ فَأَجْرُهُ عَلَى اللَّهِ وَمَنْ أَصَابَ مِنْ ذَلِكَ شَيْئًا فَعُوقِبَ بِهِ فِي الدُّنْيَا فَهُوَ كَفَّارَةٌ لَهُ وَمَنْ أَصَابَ مِنْ ذَلِكَ شَيْئًا ثُمَّ سَتَرَهُ اللَّهُ عَلَيْهِ فِي الدُّنْيَا فَهُوَ إِلَى اللَّهِ: إِنْ شَاءَ عَفَا عَنْهُ وَإِنْ شَاءَ عَاقَبَهُ " فَبَايَعْنَاهُ عَلَى ذَلِك
Ubada ibn al-Samit reported that the Messenger of God said, with a group of his Companions around him: “Pledge allegiance to me that you will not associate anything with God, steal, commit adultery, kill your children, bring a slander that you fabricate with your own hands and feet, or disobey in what is right. Whoever among you fulfills this pledge will have his reward from God. Whoever commits any of these acts and is punished for it in this world, it will be an expiation for him. Whoever commits any of these acts and God conceals it for him in this world, his case is with God: if He wills, He will forgive him, and if He wills, He will punish him.” So we pledged allegiance to him on that basis.