Lady Aisha (may Allah be pleased with her) narrates that the Messenger of Allah (peace and blessings be upon him) ordered Abu Bakr (may Allah be pleased with him) to lead the prayer, so the Messenger of Allah (peace and blessings be upon him) was sitting in front of Abu Bakr (may Allah be pleased with him), and Abu Bakr (may Allah be pleased with him) was praying behind him. In Abu Dawood, the wording is as follows: Abu Bakr (may Allah be pleased with him) was in front.