FR 7031 then FR 10 at Dublin
Faro → Dublin → Madrid
Timetable, Dublin time
23:55FR 7031 from Faro at the gate
17:40FR 10 to Madrid leaves the gate
17 h 45 apart on the timetable, overnight
FR 10 leaves 17 h 45 after FR 7031 arrives on the timetable: more than half a day, so not a connection we count.