I saw Allah's Messenger (ﷺ) prostrating in mud and water and saw the mark of mud on his forehead.
Sahih al-Bukhari Book 10, Hadith 229