Bulugh al-Maram 1473
وَعَنِ ابْنِ مَسْعُودٍ - رضي الله عنه - قَالَ سَأَلْتُ رَسُولَ اللَّهِ - صلى الله عليه وسلم - أَيُّ الذَّنْبِ أَعْظَمُ? قَالَ: «أَنْ تَجْعَلَ لِلَّهِ نِدًّا, وَهُوَ خَلَقَكَ». قُلْتُ ثُمَّ أَيُّ? قَالَ: «ثُمَّ أَنْ تَقْتُلَ وَلَدَكَ خَشْيَةَ أَنْ يَأْكُلَ مَعَكَ». قُلْتُ: ثُمَّ أَيُّ? قَالَ: «ثُمَّ أَنْ تُزَانِيَ حَلِيلَةَ جَارِكَ». مُتَّفَقٌ عَلَيْهِ.
From Ibn Masʿud, may Allah be pleased with him, who said: I asked the Messenger of Allah ﷺ: "Which sin is the greatest?" He said: "That you set up a rival to Allah, when He created you." I said: "Then which?" He said: "Then that you kill your child for fear that he will eat with you." I said: "Then which?" He said: "Then that you commit adultery with your neighbour's wife." Agreed upon.