EC 3749 then QS 1059 at Barcelona
Milan → Barcelona → Prague
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
14:55QS 1059 to Prague leaves the gatealso EW 3043
17 h 25 apart on the timetable, overnight
QS 1059 leaves 17 h 25 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.