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