FR 7538 then VY 1178 at Barcelona
Milan → Barcelona → Porto
Timetable, Barcelona time
00:40FR 7538 from Milan at the gate
13:00VY 1178 to Porto leaves the gate
12 h 20 apart on the timetable
VY 1178 leaves 12 h 20 after FR 7538 arrives on the timetable: more than half a day, so not a connection we count.