"I remember lying in front of the Messenger of Allah (ﷺ), and the Messenger of Allah (ﷺ) was praying. When he wanted to prostrate he would nudge my foot and I would draw it up (out of the way) until he had finished prostrating."
Sunan an-Nasa'i Book 1, Hadith 168