Lady Aisha (may Allah be pleased with her) narrates that the Messenger of Allah (peace and blessings be upon him) used to pray while I was lying in front of him, and when I wanted to get up, I would quietly slip away from the side of my feet.
Lady Aisha (may Allah be pleased with her) narrates that I would sometimes see the Messenger of Allah (peace be upon him) standing in the middle of the bed at night, performing prayer, while I would be lying on the bed between him (peace be upon him) and the Qiblah. If I needed something, I would slip away from the foot of the bed, disliking that I should turn my face towards him (peace be upon him).