The calculated distance (air line) between Zawyat ech Cheïkh and Rabat is approximately 108 miles respectively 174 kilometers.
By car or train, the actual journey to Rabat is certainly longer, as only the direct route (as the crow flies) between Zawyat ech Cheïkh and Rabat has been calculated here.
Air line (approximately)
174 kilometers
94 nautical miles