FR 5204 then FR 5151 at Dublin
Sofia → Dublin → Glasgow
Timetable, Dublin time
16:15FR 5204 from Sofia at the gate
12:30FR 5151 to Glasgow leaves the gate
20 h 15 apart on the timetable, overnight
FR 5151 leaves 20 h 15 after FR 5204 arrives on the timetable: more than half a day, so not a connection we count.