Sahih Bukhari | Volume 2 | Hadith Number 119

Narrated by 'Abbas bin Tamim's uncle
The Prophet (p.b.u.h) went out to offer the Istisqa' prayer and turned (and put on) his cloak inside out.