Below you can see the front-view size comparison of the Sony A7 III and Nikon Z5. The Sony A7 III is 7 mm narrower and 5 mm shorter than the Nikon Z5 but it is also 4 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.