Sahih al-Bukhari, Book 25, Hadith 223 (Bukhari 1683)

Narrated Ibn `Umar:

Al-Abbas asked the permission from the Prophet (ﷺ) to stay at Mecca during the nights of Mina in order to provide water to the people, so the Prophet (ﷺ) allowed him.