Obligation upon those preparing for travel if rain begins before departure
Chapter on the Prayer for Rain (Istisqa)
Al-Mughni
Book of the Eclipse Prayers (Solar and Lunar)
Primary text
If individuals prepare for travel and rain begins before they depart, they are required to remain, give thanks to Allah for His favor, and ask Him for an increase in His grace. This is the established ruling for such a situation.