EC 6103 then EW 7171 at Munich
Rome → Munich → Hamburg
Timetable, Munich time
14:05EC 6103 from Rome at the gate
09:15EW 7171 to Hamburg leaves the gate
19 h 10 apart on the timetable, overnight
EW 7171 leaves 19 h 10 after EC 6103 arrives on the timetable: more than half a day, so not a connection we count.