FR 1207 then AT 5387 at Madrid
Venezia → Madrid → Palma de Mallorca
Timetable, Madrid time
21:50FR 1207 from Venezia at the gate
20:30AT 5387 to Palma de Mallorca leaves the gate
22 h 40 apart on the timetable, overnight
AT 5387 leaves 22 h 40 after FR 1207 arrives on the timetable: more than half a day, so not a connection we count.