FR 4586 then QR 3513 at Barcelona
Porto → Barcelona → Granada
Timetable, Barcelona time
21:10FR 4586 from Porto at the gate
14:30QR 3513 to Granada leaves the gate
17 h 20 apart on the timetable, overnight
QR 3513 leaves 17 h 20 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.