FR 403 then IB 507 at Madrid
Palma de Mallorca → Madrid → Málaga
Timetable, Madrid time
20:30FR 403 from Palma de Mallorca at the gate
19:35IB 507 to Málaga leaves the gatealso AY 4807
23 h 05 apart on the timetable, overnight
IB 507 leaves 23 h 05 after FR 403 arrives on the timetable: more than half a day, so not a connection we count.