IB 5295 then EC 7199 at Barcelona
Palma de Mallorca → Barcelona → Edinburgh
Timetable, Barcelona time
10:10IB 5295 from Palma de Mallorca at the gate
07:20EC 7199 to Edinburgh leaves the gate
21 h 10 apart on the timetable, overnight
EC 7199 leaves 21 h 10 after IB 5295 arrives on the timetable: more than half a day, so not a connection we count.