EC 7154 then QR 3614 at Barcelona
Milan → Barcelona → Berlin
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
14:50QR 3614 to Berlin leaves the gate
15 h 35 apart on the timetable, overnight
QR 3614 leaves 15 h 35 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.