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