MEMRI video (thanks to Pamela).
It’s in the Qur’an:
“And (remember, O Children of Israel) when We made a covenant with you and caused the mount to tower above you, (saying): Hold fast that which We have given you, and remember that which is therein, that ye may ward off (evil). Then, even after that, ye turned away, and if it had not been for the grace of Allah and His mercy ye had been among the losers. And ye know of those of you who broke the Sabbath, how We said unto them: Be ye apes, despised and hated!” (2:63-65)
“Say: ‘O people of the Book! Do ye disapprove of us for no other reason than that we believe in Allah, and the revelation that hath come to us and that which came before (us), and (perhaps) that most of you are rebellious and disobedient?’ Say: ‘Shall I point out to you something much worse than this, (as judged) by the treatment it received from Allah? those who incurred the curse of Allah and His wrath, those of whom some He transformed into apes and swine, those who worshipped evil;- these are (many times) worse in rank, and far more astray from the even path!'” (5:59-60)
“When in their insolence they transgressed (all) prohibitions, We said to them: ‘Be ye apes, despised and rejected.'” (7:166)