FR 879 then FR 9913 at Barcelona
Venezia → Barcelona → Tallinn
Timetable, Barcelona time
21:10FR 879 from Venezia at the gate
15:30FR 9913 to Tallinn leaves the gate
18 h 20 apart on the timetable, overnight
FR 9913 leaves 18 h 20 after FR 879 arrives on the timetable: more than half a day, so not a connection we count.