FR 2064 then CA 897 at Madrid
Palma de Mallorca → Madrid → São Paulo
Timetable, Madrid time
23:00FR 2064 from Palma de Mallorca at the gate
22:30CA 897 to São Paulo leaves the gate
23 h 30 apart on the timetable, overnight
CA 897 leaves 23 h 30 after FR 2064 arrives on the timetable: more than half a day, so not a connection we count.