QR 3522 then FR 3078 at Barcelona
Málaga → Barcelona → Lisbon
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
19:45FR 3078 to Lisbon leaves the gate
18 h 25 apart on the timetable
FR 3078 leaves 18 h 25 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.