QR 3703 then FR 8217 at Barcelona
Bologna → Barcelona → London Stansted
Timetable, Barcelona time
16:00QR 3703 from Bologna at the gate
13:40FR 8217 to London Stansted leaves the gate
21 h 40 apart on the timetable, overnight
FR 8217 leaves 21 h 40 after QR 3703 arrives on the timetable: more than half a day, so not a connection we count.