FR 10 then IB 153 at Madrid
Dublin → Madrid → Bogota
Timetable, Madrid time
22:35FR 10 from Dublin at the gate
16:40IB 153 to Bogota leaves the gate
18 h 05 apart on the timetable, overnight
IB 153 leaves 18 h 05 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.