كتاب الصلاة
4  
The Book of Prayers
(44)
Chapter: The Limbs Of Prostration And The Prohibition Of Tucking Up One's Hair And Garment Or Having Ones Hair In A Braid When Praying
(44)
باب أَعْضَاءِ السُّجُودِ وَالنَّهْىِ عَنْ كَفِّ الشَّعْرِ، وَالثَّوْبِ، وَعَقْصِ الرَّأْسِ، فِي الصَّلاَة
Sahih Muslim 490 d

Ibn Abbas reported that the Messenger of Allah (ﷺ) said:

I have been commanded to prostrate myself on seven bones:" forehead," and then pointed with his hand towards his nose, hands, feet, and the extremities of the feet; and we were forbidden to fold back clothing and hair.
حَدَّثَنَا مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ طَاوُسٍ، عَنْ طَاوُسٍ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ أُمِرْتُ أَنْ أَسْجُدَ عَلَى سَبْعَةِ أَعْظُمٍ الْجَبْهَةِ - وَأَشَارَ بِيَدِهِ عَلَى أَنْفِهِ - وَالْيَدَيْنِ وَالرِّجْلَيْنِ وَأَطْرَافِ الْقَدَمَيْنِ وَلاَ نَكْفِتَ الثِّيَابَ وَلاَ الشَّعْرَ ‏"‏ ‏.‏
Reference : Sahih Muslim 490d
In-book reference : Book 4, Hadith 260
USC-MSA web (English) reference : Book 4, Hadith 994
  (deprecated numbering scheme)