FR 13 then FR 4587 at Barcelona
Vienna → Barcelona → Porto
Timetable, Barcelona time
19:45FR 13 from Vienna at the gate
15:35FR 4587 to Porto leaves the gate
19 h 50 apart on the timetable, overnight
FR 4587 leaves 19 h 50 after FR 13 arrives on the timetable: more than half a day, so not a connection we count.