Sahih al-Bukhari, Book 15, Hadith 1 (Bukhari 978)

Narrated `Abbad 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.