“The Messenger of Allah (ﷺ) used to do that.”
Sunan Ibn Majah Book 5, Hadith 328