The Prophet (ﷺ) said: Cannot any one of you (according to the version of the narrator AbdulWarith) step forward or backward or at his right or left. The version of Hammad added: during prayer; that is, in supererogatory prayer.
Reference: Sunan Abi Dawud 1006 In-book : Book 2, Hadith 617 English translation : Book 3, Hadith 1001
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.