The calculated distance (air line) between Rabat and Ben Guerir is approximately 139 miles respectively 223 kilometers.
By car or train, the actual journey to Ben Guerir is certainly longer, as only the direct route (as the crow flies) between Rabat and Ben Guerir has been calculated here.
Air line (approximately)
223 kilometers
120 nautical miles