Narrated Ibn 'Umar:Al-'Abbas sought permission from the Messenger of Allah (ﷺ) to pass the night at Mecca during the period of his stay at Mina for distributing water among the people. He gave him permission.
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا ابْنُ نُمَيْرٍ، وَأَبُو أُسَامَةَ عَنْ عُبَيْدِ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ اسْتَأْذَنَ الْعَبَّاسُ رَسُولَ اللَّهِ صلى الله عليه وسلم أَنْ يَبِيتَ بِمَكَّةَ لَيَالِيَ مِنًى مِنْ أَجْلِ سِقَايَتِهِ فَأَذِنَ لَهُ .
AbuDaud
The Rites of Hajj (Kitab Al-Manasik Wa'l-Hajj) • Hadith 1959