Below you can see the front-view size comparison of the Leica SL2 and Nikon D500. The Leica SL2 is 1 mm narrower and 8 mm shorter than the Nikon D500 but it is also 2 mm thicker.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.