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:4:47

O you who were given the Scripture, believe in what We have sent down ˹to Muhammad˺, confirming that which is with you, before We obliterate faces and turn them toward their backs or curse them as We cursed the sabbath-breakers. And ever is the decree of Allah accomplished.  

O you who have been given the Scripture, believe in what We have revealed, of the Qur’ān, confirming what is with you, of the Torah, before We obliterate faces, erasing the eyes, noses and eyebrows in them, and turn them inside out, and make them like the napes of the neck, a flat plate, or curse them, by transforming them into apes, as We cursed, ˹as˺ We transformed, those of the Sabbath, among them, and God’s command, His decree, is done: after this was revealed, ‘Abd Allāh b. Salām converted to Islam, and so it was said that this had been a conditional threat of punishment, so that when some of them converted to Islam, it ˹the threat˺ was lifted. It is also said that obliteration and transformation will take place before the rising of the Hour.
القرآن:٤:٤٧

يَا أَيُّهَا الَّذِينَ أُوتُوا الْكِتَابَ آمِنُوا بِمَا نَزَّلْنَا مُصَدِّقًا لِمَا مَعَكُمْ مِنْ قَبْلِ أَنْ نَطْمِسَ وُجُوهًا فَنَرُدَّهَا عَلَىٰ أَدْبَارِهَا أَوْ نَلْعَنَهُمْ كَمَا لَعَنَّا أَصْحَابَ السَّبْتِ ۚ وَكَانَ أَمْرُ اللَّهِ مَفْعُولًا  

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