Sahih al-Bukhari, Book 9, Hadith 20 (Bukhari 531)

Narrated Ibn `Abbas:

"The Prophet (ﷺ) prayed eight rak`at for the Zuhr and `Asr, and seven for the Maghrib and `Isha prayers in Medina." Aiyub said, "Perhaps those were rainy nights." Anas said, "May be."