The revelation has sparked criticism over the use of public money to secure accommodation for asylum seekers while families struggle to find affordable homes.