FR 2251 then FR 1681 at Barcelona
Marrakesh → Barcelona → Hahn
Timetable, Barcelona time
22:25FR 2251 from Marrakesh at the gate
21:45FR 1681 to Hahn leaves the gate
23 h 20 apart on the timetable, overnight
FR 1681 leaves 23 h 20 after FR 2251 arrives on the timetable: more than half a day, so not a connection we count.