LA 5798 then IB 5412 at Barcelona
Lisbon → Barcelona → London Gatwick
Timetable, Barcelona time
23:55LA 5798 from Lisbon at the gate
14:30IB 5412 to London Gatwick leaves the gatealso LL 5412, VY 7616, BA 8070
14 h 35 apart on the timetable, overnight
IB 5412 leaves 14 h 35 after LA 5798 arrives on the timetable: more than half a day, so not a connection we count.