Abdullah bin Masud reported,

I asked, "Messenger of Allah, which sin is the greatest?"He replied, "That you set up a rival to Allah, when He is the One who created you."I asked, "Then which?"He said, "That you kill your child out of fear that he will eat with you."I asked, "Then which?"He said, "That you commit adultery with your neighbor's wife."

Nasai 4019

Sahih

حدثنا عمرو بن علي قال حدثنا يحيى قال حدثنا سفيان قال حدثني واصل عن أبي وائل

عن عبد الله قال

قلت يا رسول الله أي الذنب أعظم قال أن تجعل لله ندا وهو خلقك قلت ثم أي قال أن تقتل ولدك من أجل أن يطعم معك قلت ثم أي قال ثم أن تزاني بحليلة جارك

النسائي 4019صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
Greatest sin and the disagreement of Yahya and Abdul-Rahman regarding Sufyan in the hadith of Wasil from Abu Waail from Abdullah concerning it
Numbering
Darussalam 4019
Nasai 4019