EI 3223 then FR 495 at Dublin
Glasgow → Dublin → Madrid
Timetable, Dublin time
13:20EI 3223 from Glasgow at the gate
10:00FR 495 to Madrid leaves the gate
20 h 40 apart on the timetable, overnight
FR 495 leaves 20 h 40 after EI 3223 arrives on the timetable: more than half a day, so not a connection we count.