FR 8563 then FR 5151 at Dublin
Málaga → Dublin → Glasgow
Timetable, Dublin time
10:05FR 8563 from Málaga at the gate
06:20FR 5151 to Glasgow leaves the gate
20 h 15 apart on the timetable, overnight
FR 5151 leaves 20 h 15 after FR 8563 arrives on the timetable: more than half a day, so not a connection we count.