Obligation upon travelers if rain begins before arrival
Chapter on the Prayer for Rain (Istisqa)
Al-Mughni
Book of the Eclipse Prayers (Solar and Lunar)
Primary text
If individuals depart for their journey and rain begins before they reach their destination, they must perform the prayer of thanks (Salat al-Shukr) to Allah the Most High, praise Him, and supplicate to Him.