FR 403 then FR 3814 at Madrid
Palma de Mallorca → Madrid → Bologna
Timetable, Madrid time
23:35FR 403 from Palma de Mallorca at the gate
22:10FR 3814 to Bologna leaves the gate
22 h 35 apart on the timetable, overnight
FR 3814 leaves 22 h 35 after FR 403 arrives on the timetable: more than half a day, so not a connection we count.