FR 3194 then FR 9391 at Barcelona
Riga → Barcelona → Nottingham
Timetable, Barcelona time
23:45FR 3194 from Riga at the gate
22:55FR 9391 to Nottingham leaves the gate
23 h 10 apart on the timetable, overnight
FR 9391 leaves 23 h 10 after FR 3194 arrives on the timetable: more than half a day, so not a connection we count.