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:15839Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > al-Rabīʿ b. Sulaymān > al-Shāfiʿī > Ibn ʿUyaynah > Abū Muʿāwiyah ʿAmr al-Bajalī > Abū ʿAmr al-Shaybānī > Ibn Masʿūd

[Machine] I heard Ibn Mas'ood say, "I asked the Prophet ﷺ, which sin is the greatest?" He replied, "To associate partners with Allah while He alone created you." I asked further, "Then what?" He said, "To kill your own child out of fear that they would eat with you."  

البيهقي:١٥٨٣٩أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ الرَّبِيعُ بْنُ سُلَيْمَانَ أنبأ الشَّافِعِيُّ أنبأ ابْنُ عُيَيْنَةَ عَنْ أَبِي مُعَاوِيَةَ عَمْرٍو الْبَجَلِيِّ قَالَ سَمِعْتُ أَبَا عَمْرٍو الشَّيْبَانِيَّ يَقُولُ

سَمِعْتُ ابْنَ مَسْعُودٍ ؓ يَقُولُ سَأَلْتُ النَّبِيَّ ﷺ قُلْتُ أِيُّ الْكَبَائِرِ أَكْبَرُ؟ قَالَ أَنْ تَجْعَلَ لِلَّهِ نِدًّا وَهُوَ خَلَقَكَ قُلْتُ ثُمَّ أَيٌّ؟ قَالَ أَنْ تُقْتَلَ وَلَدِكَ مِنْ أَجْلِ أَنْ يَأْكُلَ مَعَكَ  


See similar narrations below:

Collected by Nasāʾī, Nasāʾī's Kubrá
nasai:4014ʿAmr b. ʿAlī > Yaḥyá > Sufyān > Wāṣil > Abū Wāʾil > ʿAbdullāh

"I said: 'O Messenger of Allah, which sin is most grievous?' He said: 'Setting up a rival to Allah while it is He that created you.' I said: 'Then what?' He said: 'Killing your child so that he will not eat with you.' I said: 'Then what?' He said: 'Committing adultery with your neighbor's wife.'"  

النسائي:٤٠١٤حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ قَالَ حَدَّثَنَا يَحْيَى قَالَ حَدَّثَنَا سُفْيَانُ قَالَ حَدَّثَنِي وَاصِلٌ عَنْ أَبِي وَائِلٍ عَنْ عَبْدِ اللَّهِ قَالَ

قُلْتُ يَا رَسُولَ اللَّهِ أَىُّ الذَّنْبِ أَعْظَمُ قَالَ أَنْ تَجْعَلَ لِلَّهِ نِدًّا وَهُوَ خَلَقَكَ قُلْتُ ثُمَّ أَىٌّ قَالَ أَنْ تَقْتُلَ وَلَدَكَ مِنْ أَجْلِ أَنْ يَطْعَمَ مَعَكَ قُلْتُ ثُمَّ أَىٌّ قَالَ ثُمَّ أَنْ تُزَانِيَ بِحَلِيلَةِ جَارِكَ  

nasai-kubra:11305ʿAmr b. ʿAlī > Yaḥyá > Sufyān > Manṣūr And Sulaymān > Abū Wāʾil > Abū Maysarah > ʿAbdullāh

"I said: 'O Messenger of Allah, which sin is most grievous?' He said: 'Setting up a rival to Allah while it is He that created you.' I said: 'Then what?' He said: 'Killing your child so that he will not eat with you.' I said: 'Then what?' He said: 'Committing adultery with your neighbor's wife.'" (Using translation from Nasāʾī 4014)  

الكبرى للنسائي:١١٣٠٥أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ حَدَّثَنَا يَحْيَى حَدَّثَنَا سُفْيَانُ قَالَ حَدَّثَنِي مَنْصُورٌ وَسُلَيْمَانُ عَنْ أَبِي وَائِلٍ عَنْ أَبِي مَيْسَرَةَ عَنْ عَبْدِ اللهِ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَيُّ الذَّنْبِ أَعْظَمُ؟ قَالَ «أَنْ تَجْعَلَ لِلَّهِ نِدًّا وَهُوَ خَلَقَكَ» قُلْتُ ثُمَّ أَيُّ؟ قَالَ «ثُمَّ أَنْ تَقْتُلَ وَلَدَكَ مِنْ أَجْلِ أَنْ يَطْعَمَ مَعَكَ» قُلْتُ ثُمَّ مَاذَا؟ قَالَ «ثُمَّ أَنْ تُزَانِيَ حَلِيلَةَ جَارِكَ»