 There are a number of hadith of Muhammad talking about praying for rain.Ash-Shaf'i states that it has been related from Salim ibn 'Abdullah, on the authority of his father that Muhammad would say for ishsqa'