UX 6904 then FR 3831 at Madrid
Palma de Mallorca → Madrid → Bologna
Timetable, Madrid time
07:40UX 6904 from Palma de Mallorca at the gate
21:00FR 3831 to Bologna leaves the gate
13 h 20 apart on the timetable
FR 3831 leaves 13 h 20 after UX 6904 arrives on the timetable: more than half a day, so not a connection we count.