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