Food poisoning isn’t very pleasant so to be completely safe, don’t store leftover chicken in the fridge for more than 2 days and always let the meat cool down properly before you put it to the fridge. If you aren’t sure you will eat the meat within 2 days it’s better to freeze it. Read this guide from the NHS about how to store food and leftovers.