EC 3749 then QR 3513 at Barcelona
Milan → Barcelona → Granada
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
14:30QR 3513 to Granada leaves the gate
17 h apart on the timetable, overnight
QR 3513 leaves 17 h after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.