FR 4586 then IB 5062 at Barcelona
Porto → Barcelona → Granada
Timetable, Barcelona time
21:10FR 4586 from Porto at the gate
12:00IB 5062 to Granada leaves the gate
14 h 50 apart on the timetable, overnight
IB 5062 leaves 14 h 50 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.