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