Sunan an-Nasa'i 5098
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 ﷺ or that you find in the Book of Allah?" He said: "No, rather I heard it from the Messenger of Allah ﷺ and I find it in the Book of Allah." And he quoted the Hadith.
أَخْبَرَنَا عَمْرُو بْنُ مَنْصُورٍ، قَالَ حَدَّثَنَا خَلَفُ بْنُ مُوسَى، قَالَ حَدَّثَنَا أَبِي، عَنْ قَتَادَةَ، عَنْ عَزْرَةَ، عَنِ الْحَسَنِ الْعُرَنِيِّ، عَنْ يَحْيَى بْنِ الْجَزَّارِ، عَنْ مَسْرُوقٍ، أَنَّ امْرَأَةً، أَتَتْ عَبْدَ اللَّهِ بْنَ مَسْعُودٍ فَقَالَتْ إِنِّي امْرَأَةٌ زَعْرَاءُ أَيَصْلُحُ أَنْ أَصِلَ فِي شَعْرِي فَقَالَ لاَ . قَالَتْ أَشَىْءٌ سَمِعْتَهُ مِنْ رَسُولِ اللَّهِ ﷺ أَوْ تَجِدُهُ فِي كِتَابِ اللَّهِ قَالَ لاَ بَلْ سَمِعْتُهُ مِنْ رَسُولِ اللَّهِ ﷺ وَأَجِدُهُ فِي كِتَابِ اللَّهِ . وَسَاقَ الْحَدِيثَ .