EC 7152 then QR 3532 at Barcelona
Milan → Barcelona → Gran Canaria
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
12:00QR 3532 to Gran Canaria leaves the gate
19 h 05 apart on the timetable, overnight
QR 3532 leaves 19 h 05 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.