FR 403 then IB 785 at Madrid
Palma de Mallorca → Madrid → Berlin
Timetable, Madrid time
23:35FR 403 from Palma de Mallorca at the gate
16:00IB 785 to Berlin leaves the gatealso VY 5166, AA 8738
16 h 25 apart on the timetable, overnight
IB 785 leaves 16 h 25 after FR 403 arrives on the timetable: more than half a day, so not a connection we count.