AZ 76 then FR 2098 at Barcelona
Rome → Barcelona → Bologna
Timetable, Barcelona time
15:55AZ 76 from Rome at the gate
12:30FR 2098 to Bologna leaves the gate
20 h 35 apart on the timetable, overnight
FR 2098 leaves 20 h 35 after AZ 76 arrives on the timetable: more than half a day, so not a connection we count.