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:5:18

But the Jews and the Christians say, "We are the children of Allah and His beloved." Say, "Then why does He punish you for your sins?" Rather, you are human beings from among those He has created. He forgives whom He wills, and He punishes whom He wills. And to Allah belongs the dominion of the heavens and the earth and whatever is between them, and to Him is the ˹final˺ destination.  

The Jews and Christians, both of them, say: ‘We are the sons of God, that is, ˹we are˺ like his sons in terms of closeness and rank, and He is like a father to us in terms of compassion and care, and His beloved ones’. Say, to them, O Muhammad (s): ‘Why then does He chastise you for your sins?, if what you say is true. For, the father does not punish his son, nor the loving his beloved; but He has punished you, and therefore you are saying lies. Nay; you are mortals from among, all, those, mortals, He created, you shall be rewarded as they are rewarded and you shall be requited as they are requited. He forgives, him for, whom He wills, forgiveness, and He chastises, him for, whom He wills’, chastisement, and there can be no objection thereto. For to God belongs the kingdom of the heavens and of the earth, and all that is between them; to Him is the journey’s end, the ˹final˺ return.
القرآن:٥:١٨

وَقَالَتِ الْيَهُودُ وَالنَّصَارَىٰ نَحْنُ أَبْنَاءُ اللَّهِ وَأَحِبَّاؤُهُ ۚ قُلْ فَلِمَ يُعَذِّبُكُمْ بِذُنُوبِكُمْ ۖ بَلْ أَنْتُمْ بَشَرٌ مِمَّنْ خَلَقَ ۚ يَغْفِرُ لِمَنْ يَشَاءُ وَيُعَذِّبُ مَنْ يَشَاءُ ۚ وَلِلَّهِ مُلْكُ السَّمَاوَاتِ وَالْأَرْضِ وَمَا بَيْنَهُمَا ۖ وَإِلَيْهِ الْمَصِيرُ  

{وقالت اليهود والنصارى} أي كل منهما {نحن أبناء الله} أي كأبنائه في القرب والمنزلة وهو كأبينا في الرحمة والشفقة {وأحباؤه قل} لهم يا محمد {فلم يعذبكم بذنوبكم} إن صدقتم في ذلك ولا يعذب الأب ولده ولا الحبيب حبيبه وقد عذبكم فأنتم كاذبون {بل أنتم بشر ممن} من جملة من {خلق} من البشر لكم ما لهم وعليكم ما عليهم {يغفر لمن يشاء} المغفرة له {ويعذب من يشاء} تعذيبه لا اعتراض عليه {ولله ملك السماوات والأرض وما بينهما وإليه المصير} المرجع.