عَنِ ابْنِ مَسْعُودٍ رَضِيَ اللَّهُ عَنْهُ قَالَ سَأَلْنَا رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ عَنِ الْقِرَدَةِ وَالْخَنَازِيرِ أَهِيَ مِنْ نَسْلِ الْيَهُودِ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِنَّ اللَّهَ لَمْ يَلْعَنْ قَوْمًا قَطُّ فَمَسَخَهُمْ فَكَانَ لَهُمْ نَسْلٌ حَتَّى يُهْلِكَهُمْ وَلَكِنْ هَذَا خَلْقٌ كَانَ فَلَمَّا غَضِبَ اللَّهُ عَلَى الْيَهُودِ مَسَخَهُمْ فَجَعَلَهُمْ مِثْلَهُمْ
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him), he says: We asked the Messenger of Allah (peace and blessings be upon him) about monkeys and pigs, whether they are from the transformed descendants of the Jews? The Messenger of Allah (peace and blessings be upon him) said: It has never happened that Allah Almighty cursed a people, transformed them, and then let their lineage continue; in fact, this creation existed before they were transformed. When Allah Almighty became angry with the Jews, He made them resemble these creatures.