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