I was sitting in the company( of the Companions). He then narrated this tradition saying: When he(the Prophet) sat up after two rak’ahs, he sat on the sole of his left foot and raised his left foot. When he sat up after four rak’ahs, he placed his left hip on the ground and put out his both feet on one side. (Using translation from Abū Dāʾūd 965)
رَأَيْتُ رَسُولَ اللهِ ﷺ إِذَا قَعَدَ فِي الرَّكْعَتَيْنِ قَعَدَ عَلَى بَطْنِ قَدَمِهِ الْيُسْرَى وَنَصَبَ الْيُمْنَى فَإِذَا كَانَتِ الرَّابِعَةُ أَفْضَى بِوَرِكِهِ الْيُسْرَى إِلَى الْأَرْضِ وَأَخْرَجَ قَدَمَيْهِ مِنْ نَاحِيَةٍ وَاحِدَةٍ