His father said: "So and so sent me to ask him how the Messenger of Allah (ﷺ) prayed for rain (Istisqa')." He said: 'The Messenger of Allah (ﷺ) went out beseeching and humble, (dressed) in a state of humility. He did not give a Khutbah like this Khutbah of yours, and he prayed two rak'ahs.'"
Sunan an-Nasa'i Book 17, Hadith 3