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 al-Bukhari Book 25, Hadith 223