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.
tabarani:1368ʿAmr b. Abū al-Ṭāhir b. al-Sarḥ al-Miṣrī > Yaḥyá b. Bukayr > Ibn Lahīʿah > al-Ḥārith b. Yazīd > Thābit b. al-Ḥārith al-Anṣārī > Kānat Yahūd

[Machine] The Jews used to say that if a small child is born to them, he is righteous. When this news reached the Prophet ﷺ , he said that the Jews lied. There is no human being that Allah creates in the womb of their mother except that they are destined to be either miserable or successful. Allah revealed this verse at that time: "He knows you well when He created you from the earth and when you were hiding in your mothers' wombs."  

الطبراني:١٣٦٨حَدَّثَنَا عَمْرُو بْنُ أَبِي الطَّاهِرِ بْنِ السَّرْحِ الْمِصْرِيُّ حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ ثنا ابْنُ لَهِيعَةَ عَنِ الْحَارِثِ بْنِ يَزِيدَ عَنْ ثَابِتِ بْنِ الْحَارِثِ الْأَنْصَارِيِّ قَالَ

كَانَتْ يَهُودُ تَقُولُ إِنْ أُهْلِكَ لَهُمْ صَبِيٌّ صَغِيرٌ قَالُوا هُوَ صِدِّيقٌ فَبَلَغَ ذَلِكَ النَّبِيَّ ﷺ فَقَالَ كَذَبَتْ يَهُودُ مَا مِنْ نَسَمَةٍ يَخْلُقُهَا اللهُ فِي بَطْنِ أُمِّهِ إِلَّا أَنَّهُ شَقِيٌّ وَسَعِيدٌ فَأَنْزَلَ اللهُ ﷻ عِنْدَ ذَلِكَ هَذِهِ الْآيَةَ {هُوَ أَعْلَمُ بِكُمْ إِذْ أَنْشَأَكُمْ مِنَ الْأَرْضِ وَإِذْ أَنْتُمْ أَجَنَّةٌ فِي بُطُونِ أُمَّهَاتِكُمْ} الْآيَةَ كُلَّهَا