Question: how long can you stay in hospital before it affects your pension?
Answer: Your State Pension doesn't change, no matter how long you're in hospital. But some payments are suspended if you are in hospital for more than 28 days: Attendance Allowance.