Below you can see the front-view size comparison of the Leica Q2 and Sony A7 III. The Sony A7 III is 3 mm narrower and 18 mm thinner than the Leica Q2 but it is also 16 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.