QR 3522 then EC 7155 at Barcelona
Málaga → Barcelona → Milan
Timetable, Barcelona time
00:55QR 3522 from Málaga at the gate
18:40EC 7155 to Milan leaves the gate
17 h 45 apart on the timetable
EC 7155 leaves 17 h 45 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.