The calculated distance (air line) between Mohammedia and Ifrane is approximately 131 miles respectively 211 kilometers.
By car or train, the actual journey to Ifrane is certainly longer, as only the direct route (as the crow flies) between Mohammedia and Ifrane has been calculated here.
Air line (approximately)
211 kilometers
114 nautical miles