on all fours
On one's hands and knees, as in Seven of us were on all fours, looking for the lost earring in the sand. In this idiom fours refers to the four limbs. [1300s]