Sahih al-Bukhari, Book 67, Hadith 139 (In-Book)

Narrated `Aisha: An Ansari woman gave her daughter in marriage and the hair of the latter started falling out. The Ansari women came to the Prophet and mentioned that to him and said, "Her (my daughter's) husband suggested that I should let her wear false hair." The Prophet said, "No, (don't do that) for Allah sends His curses upon such ladies who lengthen their hair artificially."

حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى، حَدَّثَنَا إِبْرَاهِيمُ بْنُ نَافِعٍ، عَنِ الْحَسَنِ ـ هُوَ ابْنُ مُسْلِمٍ ـ عَنْ صَفِيَّةَ، عَنْ عَائِشَةَ، أَنَّ امْرَأَةً، مِنَ الأَنْصَارِ زَوَّجَتِ ابْنَتَهَا فَتَمَعَّطَ شَعَرُ رَأْسِهَا، فَجَاءَتْ إِلَى النَّبِيِّ صلى الله عليه وسلم فَذَكَرَتْ ذَلِكَ لَهُ، فَقَالَتْ إِنَّ زَوْجَهَا أَمَرَنِي أَنْ أَصِلَ فِي شَعَرِهَا‏.‏ فَقَالَ ‏ "‏ لاَ إِنَّهُ قَدْ لُعِنَ الْمُوصِلاَتُ ‏" ‏‏.‏

sunnah.com