FR 5270 then FR 4096 at Manchester
Barcelona → Manchester → Riga
Timetable, Manchester time
12:35FR 5270 from Barcelona at the gate
07:40FR 4096 to Riga leaves the gate
19 h 05 apart on the timetable, overnight
FR 4096 leaves 19 h 05 after FR 5270 arrives on the timetable: more than half a day, so not a connection we count.