Flight Adolfo Suárez Madrid–Barajas Airport departs from Madrid Adolfo Suárez Madrid–Barajas Airport at 16:20 and arrives at Doha International Airport at 00:05.
The flighttime is about 5h 45m. The distance travelled ("as the bird flies"): 6298 Km. So the average speed is roughly 1095 Km.
There is an 2 hour time difference between Madrid and Doha