The calculated distance (air line) between Az̧ Z̧āhirīyah and Rafaḩ is approximately 44 miles respectively 70 kilometers.
By car or train, the actual journey to Rafaḩ is certainly longer, as only the direct route (as the crow flies) between Az̧ Z̧āhirīyah and Rafaḩ has been calculated here.
Air line (approximately)
70 kilometers
38 nautical miles