The Prophet (ﷺ) went towards the Musalla and invoked Allah for rain. He faced the Qibla and wore his cloak inside out, and offered two rak`at.
Sahih al-Bukhari Book 15, Hadith 7