Ata (may Allah have mercy on him) narrates that the Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) used to lean on staffs in prayer.