A man came to Allah's Messenger (ﷺ) and said, "O Allah's Messenger (ﷺ)! Livestock are destroyed and the roads
are cut off. So please invoke Allah." So Allah's Messenger (ﷺ) prayed and it rained from that Friday to the
next Friday. Then he came to Allah's Messenger (ﷺ) I and said, "O Allah's Messenger (ﷺ)! Houses have collapsed,
roads are cut off and the livestock are destroyed." So Allah's Messenger (ﷺ) (p.b.u.h) prayed, "O Allah! (Let
it rain) on the tops of mountains, on the plateaus, in the valleys and over the places where trees grow."
So the clouds cleared away from Medina as clothes are taken off.
Sahih al-Bukhari Book 15, Hadith 12