Hostels, nightshelters and foyers are types of temporary accommodation for homeless people. You need a referral from the Housing Executive or Social Services to get a place in some hostels , but there are others that can give you a room or a bed for the night you without a referral.