QR 3743 then FR 149 at Barcelona
Milan → Barcelona → Berlin
Timetable, Barcelona time
14:55QR 3743 from Milan at the gate
14:20FR 149 to Berlin leaves the gate
23 h 25 apart on the timetable, overnight
FR 149 leaves 23 h 25 after QR 3743 arrives on the timetable: more than half a day, so not a connection we count.