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