Sunan an-Nasa'i, Book 48, Hadith 59 (In-Book)

It was narrated from Masruq that: A woman came to 'Abdullah bin Mas'ud and said: "I am a woman with little hair, is it alright for me to add extensions to my hair?" He said: "No." She said: "Is it something that you heard from the Messenger of Allah [SAW] or that you find in the Book of Allah?" He said: "No, rather I heard it from the Messenger of Allah [SAW] and I find it in the Book of Allah." And he quoted the Hadith.

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

sunnah.com