FR 5315 then U2 5080 at Fiumicino
Madrid → Rome → Berlin
Timetable, Rome time
08:55FR 5315 from Madrid at the gate
08:45U2 5080 to Berlin leaves the gate
23 h 50 apart on the timetable, overnight
U2 5080 leaves 23 h 50 after FR 5315 arrives on the timetable: more than half a day, so not a connection we count.