FR 4586 then W4 6316 at Barcelona
Porto → Barcelona → Milan
Timetable, Barcelona time
22:20FR 4586 from Porto at the gate
13:10W4 6316 to Milan leaves the gate
14 h 50 apart on the timetable, overnight
W4 6316 leaves 14 h 50 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.