LA 5741 then QR 3516 at Barcelona
Lisbon → Barcelona → Málaga
Timetable, Barcelona time
23:55LA 5741 from Lisbon at the gate
19:25QR 3516 to Málaga leaves the gate
19 h 30 apart on the timetable, overnight
QR 3516 leaves 19 h 30 after LA 5741 arrives on the timetable: more than half a day, so not a connection we count.