QR 3522 then FR 269 at Barcelona
Málaga → Barcelona → Milan
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
18:30FR 269 to Milan leaves the gate
17 h 10 apart on the timetable
FR 269 leaves 17 h 10 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.