It is narrated from Umrah bint Abdur Rahman that the Prophet ﷺ cursed both the one who reveals the secrets of seclusion and the one with whom it is done.
Hadith Referenceمسند الإمام الشافعي / كتاب النكاح / 1145
Hadith Takhrijاسناده ضعيف لارساله اخرجه البيهقى 8 / 270 - وفى المعرفة السنن والآثار له (5170)۔
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)۔