The good news is, you can claim HRA for the moths that you were paying rent and have a rent receipt for. So, if you have stayed for 3 months or 6, you can still claim HRA.