Volume 2 · Book 26 · Hadith 801
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.
— Sahih Bukhari, Volume 2, Book 26: Pilgrimmage (Hajj), Hadith #801