FR 9986 then FR 5565 at Dublin
Porto → Dublin → Glasgow
Timetable, Dublin time
10:15FR 9986 from Porto at the gate
06:10FR 5565 to Glasgow leaves the gate
19 h 55 apart on the timetable, overnight
FR 5565 leaves 19 h 55 after FR 9986 arrives on the timetable: more than half a day, so not a connection we count.