LA 5741 then QR 3517 at Barcelona
Lisbon → Barcelona → Alicante
Timetable, Barcelona time
23:55LA 5741 from Lisbon at the gate
19:10QR 3517 to Alicante leaves the gate
19 h 15 apart on the timetable, overnight
QR 3517 leaves 19 h 15 after LA 5741 arrives on the timetable: more than half a day, so not a connection we count.