IB 5393 then EC 7199 at Barcelona
Napoli → Barcelona → Edinburgh
Timetable, Barcelona time
11:50IB 5393 from Napoli at the gate
06:55EC 7199 to Edinburgh leaves the gate
19 h 05 apart on the timetable, overnight
EC 7199 leaves 19 h 05 after IB 5393 arrives on the timetable: more than half a day, so not a connection we count.