LL 5191 then LA 5791 at Barcelona
Málaga → Barcelona → Torino
Timetable, Barcelona time
15:40LL 5191 from Málaga at the gate
12:35LA 5791 to Torino leaves the gate
20 h 55 apart on the timetable, overnight
LA 5791 leaves 20 h 55 after LL 5191 arrives on the timetable: more than half a day, so not a connection we count.