FR 275 then FR 5308 at Dublin
Glasgow → Dublin → Pisa
Timetable, Dublin time
22:50FR 275 from Glasgow at the gate
20:15FR 5308 to Pisa leaves the gate
21 h 25 apart on the timetable, overnight
FR 5308 leaves 21 h 25 after FR 275 arrives on the timetable: more than half a day, so not a connection we count.