IB 778 then FR 5315 at Madrid
Hamburg → Madrid → Rome
Timetable, Madrid time
10:00IB 778 from Hamburg at the gatealso LA 1700, VY 5127, AT 5907, AA 8705
06:25FR 5315 to Rome leaves the gate
20 h 25 apart on the timetable, overnight
FR 5315 leaves 20 h 25 after IB 778 arrives on the timetable: more than half a day, so not a connection we count.