Ibn ‘Umar said God’s Messenger forbade that a man should sit during prayer leaning on his hand.
Ahmad and Abu Dawud transmitted it, and in a version by Abu Dawud it says he forbade that a man should lean on his hands when he got up during the prayer.
God’s Messenger used to teach us the tashahhud just as he would teach us a sura of the Qur’an, saying, “In the name of God and with His grace. The adorations of the tongue, acts of worship and all good things are due to God. Peace be upon you, O Prophet, and God’s mercy and blessings. Peace be upon us and upon God’s upright servants. I testify that there is no god but God, and I testify that Muhammad is His servant and Messenger. I ask God for paradise, and I seek refuge in God from hell.”