It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) came out holding a lock of hair (a bunch of artificial hair) and said: "The women of the Children of Israel used to put this in their heads, so they were cursed and the mosques were made forbidden to them."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10672