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