IB 788 then FR 5323 at Madrid
Berlin → Madrid → Milan Bergamo
Timetable, Madrid time
10:15IB 788 from Berlin at the gatealso VY 5112, AA 8825
06:15FR 5323 to Milan Bergamo leaves the gate
20 h apart on the timetable, overnight
FR 5323 leaves 20 h after IB 788 arrives on the timetable: more than half a day, so not a connection we count.