FR 866 then FR 1681 at Barcelona
Venezia → Barcelona → Hahn
Timetable, Barcelona time
22:15FR 866 from Venezia at the gate
13:50FR 1681 to Hahn leaves the gate
15 h 35 apart on the timetable, overnight
FR 1681 leaves 15 h 35 after FR 866 arrives on the timetable: more than half a day, so not a connection we count.