FR 3077 then FR 1681 at Barcelona
Stockholm → Barcelona → Hahn
Timetable, Barcelona time
20:00FR 3077 from Stockholm at the gate
19:35FR 1681 to Hahn leaves the gate
23 h 35 apart on the timetable, overnight
FR 1681 leaves 23 h 35 after FR 3077 arrives on the timetable: more than half a day, so not a connection we count.