The calculated distance (air line) between Ribat Al Khayr and Khouribga is approximately 158 miles respectively 254 kilometers.
By car or train, the actual journey to Khouribga is certainly longer, as only the direct route (as the crow flies) between Ribat Al Khayr and Khouribga has been calculated here.
Air line (approximately)
254 kilometers
137 nautical miles