Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:15823Abū Muḥammad Janāḥ b. Nadhīr b. Janāḥ al-Qāḍī > Abū Jaʿfar b. Duḥaym > Aḥmad b. Ḥāzim b. Abū Gharazah > ʿUthmān b. Muḥammad b. Abū Shaybah > Jarīr > al-Aʿmash > Abū Wāʾil > ʿAmr b. Shuraḥbīl > ʿAbdullāh

[Machine] A man said, "O Messenger of Allah, which sin is the greatest before Allah?" He replied, "To ascribe partners to Allah while He created you." He said, "Then what?" He replied, "To kill your child out of fear that he will eat with you." He said, "Then what?" He replied, "To commit adultery with your neighbor's wife." Then Allah revealed the confirmation of these sins in the Quran, from the verse "And those who do not invoke with Allah another deity or kill the soul which Allah has forbidden [to be killed], except by right, and do not commit unlawful sexual intercourse. And whoever should do that will meet a penalty." [Quran 25:68] until the phrase "in multitudes" [Quran 25:68].  

البيهقي:١٥٨٢٣وَأَخْبَرَنَا أَبُو مُحَمَّدٍ جَنَاحُ بْنُ نَذِيرِ بْنِ جَنَاحٍ الْقَاضِي أنبأ أَبُو جَعْفَرِ بْنُ دُحَيْمٍ ثنا أَحْمَدُ بْنُ حَازِمِ بْنِ أَبِي غَرَزَةَ ثنا عُثْمَانُ بْنُ مُحَمَّدِ بْنِ أَبِي شَيْبَةَ ثنا جَرِيرٌ عَنِ الْأَعْمَشِ عَنْ أَبِي وَائِلٍ عَنْ عَمْرِو بْنِ شُرَحْبِيلَ قَالَ قَالَ عَبْدُ اللهِ قَالَ

رَجُلٌ يَا رَسُولَ اللهِ أِيُّ الذَّنْبِ أَكْبَرُ عِنْدَ اللهِ؟ قَالَ أَنْ تَدْعُوَ لِلَّهِ نِدًّا وَهُوَ خَلَقَكَ قَالَ ثُمَّ أَيٌّ؟ قَالَ تَقْتُلُ وَلَدَكَ مَخَافَةَ أَنْ يَطْعَمَ مَعَكَ قَالَ ثُمَّ أَيٌّ؟ قَالَ أَنْ تُزَانِيَ حَلِيلَةَ جَارِكَ فَأَنْزَلَ اللهُ تَصْدِيقَهَا {وَالَّذِينَ لَا يَدْعُونَ مَعَ اللهِ إِلَهًا آخَرَ وَلَا يَقْتُلُونَ النَّفْسَ الَّتِي حَرَّمَ اللهُ إِلَّا بِالْحَقِّ وَلَا يَزْنُونَ} [الفرقان 68] إِلَى قَوْلِهِ {أَثَامًا} [الفرقان 68]  

رَوَاهُ الْبُخَارِيُّ وَمُسْلِمٌ فِي الصَّحِيحِ عَنْ عُثْمَانَ بْنِ أَبِي شَيْبَةَ قَالَ الشَّافِعِيُّ وَقَالَ اللهُ تَعَالَى {أَنَّهُ مَنْ قَتَلَ نَفْسًا بِغَيْرِ نَفْسٍ أَوْ فَسَادٍ فِي الْأَرْضِ فَكَأَنَّمَا قَتَلَ النَّاسَ جَمِيعًا وَمَنْ أَحْيَاهَا فَكَأَنَّمَا أَحْيَا النَّاسَ جَمِيعًا} [المائدة 32] وَقَالَ {وَاتْلُ عَلَيْهِمْ نَبَأَ ابْنَيْ آدَمَ بِالْحَقِّ إِذْ قَرَّبَا قُرْبَانًا فَتُقُبِّلَ مِنْ أَحَدِهِمَا وَلَمْ يُتَقَبَّلْ مِنَ الْآخَرِ قَالَ لَأَقْتُلَنَّكَ} [المائدة 27] إِلَى قَوْلِهِ {فَأَصْبَحَ مِنَ الْخَاسِرِينَ} [المائدة 30]

See similar narrations below:

Collected by Ṭabarānī
tabarani:9820Khalaf b. ʿAmr al-ʿUkbarī > Saʿīd b. Manṣūr > Abū Shaybah Yazīd b. Muʿāwiyah > ʿAbd al-Malik b. ʿUmayr > Zir b. Ḥubaysh > Ibn Masʿūd

[Machine] I asked the Messenger of Allah ﷺ , "Which deeds are best?" He replied, "Prayer at its appointed time." I said, "Then what?" He said, "Kindness to parents." I said, "Then what?" He said, "Jihad in the cause of Allah." He swore by Allah, "And if I had requested more, he would have given me more." I said, "So which sin is the greatest in the sight of Allah?" He said, "To ascribe partners to Allah while He has created you." I said, "Then what?" He replied, "To kill your children out of fear that they will eat with you." I said, "Then what?" He said, "To commit adultery with your neighbor's wife." We only stayed a little while until Allah revealed the confirmation of his statement, "And those who do not invoke with Allah another deity or kill the soul which Allah has forbidden [to be killed], except by right, and do not commit unlawful sexual intercourse. And whoever should do that will meet a penalty." Jowwad bin Muawiya stated it, and Hammad bin Salamah did not.  

الطبراني:٩٨٢٠حَدَّثَنَا خَلَفُ بْنُ عَمْرٍو الْعُكْبَرِيُّ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا أَبُو شَيْبَةَ يَزِيدُ بْنُ مُعَاوِيَةَ ثنا عَبْدُ الْمَلِكِ بْنُ عُمَيْرٍ عَنْ زِرِّ بْنِ حُبَيْشٍ أَنَّ ابْنَ مَسْعُودٍ قَالَ

سَأَلْتُ رَسُولَ اللهِ ﷺ أَيُّ الْأَعْمَالِ أَفْضَلُ؟ قَالَ «الصَّلَاةُ لِوَقْتِهَا» قُلْتُ ثُمَّ أَيٌّ؟ قَالَ «بِرُّ الْوَالِدَيْنِ» قُلْتُ ثُمَّ أَيٌّ؟ قَالَ «الْجِهَادُ فِي سَبِيلِ اللهِ» وَايْمُ اللهِ لَوِ اسْتَزَدْتُهُ لَزَادَنِي قُلْتُ فَأَيُّ الذَّنْبِ أَعْظَمُ عِنْدَ اللهِ؟ قَالَ «أَنْ تَجْعَلَ لِلَّهِ نِدًّا وَهُوَ خَلَقَكَ» قُلْتُ ثُمَّ أَيٌّ؟ قَالَ «أَنْ تَقْتُلَ وَلَدَكَ خَشْيَةَ أَنْ يَأْكُلَ مَعَكَ» قُلْتُ ثُمَّ أَيٌّ؟ قَالَ «أَنْ تُزَانِيَ حَلِيلَةَ جَارِكَ» فَمَا مَكَثْنَا إِلَّا يَسِيرًا حَتَّى أَنْزَلَ اللهُ مِصْدَاقَهَا {وَالَّذِينَ لَا يَدْعُونَ مَعَ اللهِ إِلَهًا آخَرَ وَلَا يَقْتُلُونَ النَّفْسَ الَّتِي حَرَّمَ اللهُ إِلَّا بِالْحَقِّ وَلَا يَزْنُونَ وَمَنْ يَفْعَلْ ذَلِكَ يَلْقَ أَثَامًا} جَوَّدَهُ يَزِيدُ بْنُ مُعَاوِيَةَ وَلَمْ يُجَوِّدْهُ حَمَّادُ بْنُ سَلَمَةَ