FR 9601 then IB 785 at Madrid
Rome → Madrid → Berlin
Timetable, Madrid time
19:50FR 9601 from Rome at the gate
15:55IB 785 to Berlin leaves the gatealso VY 5166, AA 8738
20 h 05 apart on the timetable, overnight
IB 785 leaves 20 h 05 after FR 9601 arrives on the timetable: more than half a day, so not a connection we count.