LL 5191 then EC 7199 at Barcelona
Málaga → Barcelona → Edinburgh
Timetable, Barcelona time
15:40LL 5191 from Málaga at the gate
07:20EC 7199 to Edinburgh leaves the gate
15 h 40 apart on the timetable, overnight
EC 7199 leaves 15 h 40 after LL 5191 arrives on the timetable: more than half a day, so not a connection we count.