Flight Guarulhos International Airport departs from Sao Paulo Guarulhos International Airport at 15:05 and arrives at Madrid Adolfo Suárez Madrid–Barajas Airport at 05:15.
The flighttime is about 9h 10m. The distance travelled ("as the bird flies"): 7748 Km. So the average speed is roughly 845 Km.
There is an 5 hour time difference between Sao Paulo and Madrid