FR 4546 then FR 9913 at Barcelona
Porto → Barcelona → Tallinn
Timetable, Barcelona time
23:25FR 4546 from Porto at the gate
15:30FR 9913 to Tallinn leaves the gate
16 h 05 apart on the timetable, overnight
FR 9913 leaves 16 h 05 after FR 4546 arrives on the timetable: more than half a day, so not a connection we count.