FB 471 then I2 1667 at Madrid
Sofia → Madrid → Palma de Mallorca
Timetable, Madrid time
17:55FB 471 from Sofia at the gate
15:50I2 1667 to Palma de Mallorca leaves the gatealso IB 1667
21 h 55 apart on the timetable, overnight
I2 1667 leaves 21 h 55 after FB 471 arrives on the timetable: more than half a day, so not a connection we count.