Flight Istanbul Atatürk Airport departs from Istanbul Istanbul Atatürk Airport at 13:45 and arrives at Madrid Adolfo Suárez Madrid–Barajas Airport at 17:15.
The flighttime is about 4h 30m. The distance travelled ("as the bird flies"): 3601 Km. So the average speed is roughly 800 Km.
There is an 1 hour time difference between Istanbul and Madrid