Clue: Patients or prisoners at home with friends (7)
Answer: INMATES
Explanation: Definition: Patients or prisoners
A charade of IN ('at home') plus MATES ('friends').