AT 5349 then FR 2061 at Madrid
Badajoz → Madrid → Palma de Mallorca
Timetable, Madrid time
10:45AT 5349 from Badajoz at the gate
08:10FR 2061 to Palma de Mallorca leaves the gate
21 h 25 apart on the timetable, overnight
FR 2061 leaves 21 h 25 after AT 5349 arrives on the timetable: more than half a day, so not a connection we count.