QR 3522 then AD 7243 at Barcelona
Málaga → Barcelona → Lisbon
Timetable, Barcelona time
00:55QR 3522 from Málaga at the gate
21:10AD 7243 to Lisbon leaves the gatealso S4 8711
20 h 15 apart on the timetable
AD 7243 leaves 20 h 15 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.