IB 624 then IB 545 at Madrid
Geneva → Madrid → Porto
Timetable, Madrid time
12:00IB 624 from Geneva at the gatealso AA 8735
11:25IB 545 to Porto leaves the gatealso CX 1867, VY 5306, DT 6092, QR 6930, AA 8665
23 h 25 apart on the timetable, overnight
IB 545 leaves 23 h 25 after IB 624 arrives on the timetable: more than half a day, so not a connection we count.