The calculated distance (air line) between Rabat and Tirhanimîne is approximately 184 miles respectively 296 kilometers.
By car or train, the actual journey to Tirhanimîne is certainly longer, as only the direct route (as the crow flies) between Rabat and Tirhanimîne has been calculated here.
Air line (approximately)
296 kilometers
160 nautical miles