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.
quran:6:151

Say, "Come, I will recite what your Lord has prohibited to you. ˹He commands˺ that you not associate anything with Him, and to parents, good treatment, and do not kill your children out of poverty; We will provide for you and them. And do not approach immoralities - what is apparent of them and what is concealed. And do not kill the soul which Allah has forbidden ˹to be killed˺ except by ˹legal˺ right. This has He instructed you that you may use reason."  

Say: ‘Come, I will recite that which your Lord has made a sacred duty for you: that (allā: ˹consisting of anlā˺ an being explicative) you associate nothing with Him, that you be dutiful to parents, and that you do not slay your children, by burying them alive, because of poverty, destitution, that you may fear — We will provide for you and them — and that you do not draw near any acts of lewdness, grave sins, such as fornication, whether it be manifest or concealed, that is, ˹acts committed˺ overtly or in secret, and that you do not slay the life which God has made sacred, except rightfully, as in the case of retaliation, or ˹as˺ the prescribed punishment for apostasy, and the stoning of an adulterer. This, which is mentioned, is what He has charged you with, that perhaps you will understand, reflect.
القرآن:٦:١٥١

قُلْ تَعَالَوْا أَتْلُ مَا حَرَّمَ رَبُّكُمْ عَلَيْكُمْ ۖ أَلَّا تُشْرِكُوا بِهِ شَيْئًا ۖ وَبِالْوَالِدَيْنِ إِحْسَانًا ۖ وَلَا تَقْتُلُوا أَوْلَادَكُمْ مِنْ إِمْلَاقٍ ۖ نَحْنُ نَرْزُقُكُمْ وَإِيَّاهُمْ ۖ وَلَا تَقْرَبُوا الْفَوَاحِشَ مَا ظَهَرَ مِنْهَا وَمَا بَطَنَ ۖ وَلَا تَقْتُلُوا النَّفْسَ الَّتِي حَرَّمَ اللَّهُ إِلَّا بِالْحَقِّ ۚ ذَٰلِكُمْ وَصَّاكُمْ بِهِ لَعَلَّكُمْ تَعْقِلُونَ  

{قل تعالوا أتل} أقرأ {ما حرم ربكم عليكم أ} ن مفسرة {لا تشركوا به شيئا و} أحسنوا {بالوالدين إحسانا ولا تقتلوا أولادكم} بالوأد {من} أجل {إملاق} فقر تخافونه {نحن نرزقكم وإياكم ولا تقربوا الفواحش} الكبائر كالزنا {ما ظهر منها وما بطن} أي علانيتها وسرها {ولا تقتلوا النفس التي حرَّم الله إلا بالحق} كالقود وحد الردة ورجم المحصن {ذلكم} المذكور {وصاكم به لعلكم تعقلون} تتدبرون.