V7 2370 then FR 2061 at Madrid
Toulouse → Madrid → Palma de Mallorca
Timetable, Madrid time
12:10V7 2370 from Toulouse at the gate
06:00FR 2061 to Palma de Mallorca leaves the gate
17 h 50 apart on the timetable, overnight
FR 2061 leaves 17 h 50 after V7 2370 arrives on the timetable: more than half a day, so not a connection we count.