Sayyiduna Abu Bakr, may Allah be pleased with him, narrates from the Prophet, peace and blessings be upon him, that he said: "When any one of you removes his shoes in prayer, he should not place them in front of him lest he himself becomes sinful because of them, nor should he place them behind him lest his Muslim brother behind him becomes sinful because of them. Rather, he should place them between his legs."