FR 3073 then QR 3573 at Barcelona
Prague → Barcelona → Cagliari
Timetable, Barcelona time
13:30FR 3073 from Prague at the gate
11:05QR 3573 to Cagliari leaves the gate
21 h 35 apart on the timetable, overnight
QR 3573 leaves 21 h 35 after FR 3073 arrives on the timetable: more than half a day, so not a connection we count.