كتاب الحج
15
The Book of Pilgrimage
(60)
Chapter: It is obligatory to stay overnight in Mina during the nights of the days of At-Tashriq, and the concession allowing those who supply water to leave
(60)
باب وُجُوبِ الْمَبِيتِ بِمِنًى لَيَالِيَ أَيَّامِ التَّشْرِيقِ وَالتَّرْخِيصِ فِي تَرْكِهِ لأَهْلِ السِّقَايَةِ
Sahih Muslim 1315 a

Ibn Umar (Allah be pleased with them) reported that al-'A'bbas b. Abd al-Muttalib (Allah be pleased with him) sought permission from Allah's Messenger (ﷺ) to spend in Mecca the nights (which be was required to spend) at Mina on account of his office of supplier of water, and he (the Holy Prophet) granted him permission.

حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا ابْنُ نُمَيْرٍ، وَأَبُو أُسَامَةَ قَالاَ حَدَّثَنَا عُبَيْدُ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، ح. وَحَدَّثَنَا ابْنُ نُمَيْرٍ، - وَاللَّفْظُ لَهُ - حَدَّثَنَا أَبِي، حَدَّثَنَا عُبَيْدُ اللَّهِ، حَدَّثَنِي نَافِعٌ، عَنِ ابْنِ عُمَرَ، أَنَّ الْعَبَّاسَ بْنَ عَبْدِ الْمُطَّلِبِ، اسْتَأْذَنَ رَسُولَ اللَّهِ صلى الله عليه وسلم أَنْ يَبِيتَ بِمَكَّةَ لَيَالِيَ مِنًى مِنْ أَجْلِ سِقَايَتِهِ فَأَذِنَ لَهُ ‏.‏
Reference : Sahih Muslim 1315 a
In-book reference : Book 15, Hadith 381
USC-MSA web (English) reference : Book 7, Hadith 3016
  (deprecated numbering scheme)