Forty eight Ethiopian origin who had been hiding in a house in Githurai Kimbo area, Kiambu County were on Thursday arrested by police officers from Ruiru.
Also arrested was a woman who is believed to have been sheltering them and a taxi driver said to have been involved in their transportation to the house where they were arrested.
Ruiru police commander Isaac Thuranira said the police acted on a tip off from members of the public that the foreigners were holed up in a tiny room where some of them fainted and acted swiftly to avert any criminal activity that might have been planned by the foreigners.
"They were in a small rental house where we found some already fainting due to lack of enough oxygen," said Mr Thuranira.
The foreigners are currently being held at Ruiru police cells.