FR 4586 then LA 5766 at Barcelona
Porto → Barcelona → Granada
Timetable, Barcelona time
22:20FR 4586 from Porto at the gate
12:00LA 5766 to Granada leaves the gate
13 h 40 apart on the timetable, overnight
LA 5766 leaves 13 h 40 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.