I asked the 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, that you commit adultery with your neighbor's wife, and that you kill your child out of fear that he will eat with you or eat your food."
حدثنا محمد بن جعفر حدثنا شعبة عن واصل الأحدب عن أبي وائل
سألت رسول الله ﷺ أي الذنب أعظم قال أن تجعل لله ندا وهو خلقك وأن تزاني بحليلة جارك وأن تقتل ولدك أجل أن يأكل معك أو يأكل طعامك