From Sahih Bukhari (Hadith 543):
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
Reference: Bukhari 543