Jami` at-Tirmidhi, Book 7, Hadith 62 (Tirmidhi 678)

Ali narrated:

"Al-Abbas asked the Messenger of Allah about paying his charity (Zakat) in advance before its time is due (by being in possession for a whole year), he permitted him to do that."