Asma (may Allah be pleased with her) narrated that a woman came to the Prophet (ﷺ) and said: "O Messenger of Allah (ﷺ)! My daughter had measles and her hair fell out, can I attach artificial hair to her head?" The Messenger of Allah (ﷺ) replied: "A curse has been placed upon both the one who attaches artificial hair and the one who has it attached."
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1146
Hadith Takhrijاخرجه البخاري، اللباس، باب الموصوله (5936) ، (5941) - ومسلم ، اللباس والزينة ، باب تحريم فعل الواصلة والمستوصله..... الخ (2122)۔