QR 3502 then EC 7682 at Barcelona
Málaga → Barcelona → Lisbon
Timetable, Barcelona time
21:10QR 3502 from Málaga at the gate
10:00EC 7682 to Lisbon leaves the gate
12 h 50 apart on the timetable, overnight
EC 7682 leaves 12 h 50 after QR 3502 arrives on the timetable: more than half a day, so not a connection we count.