Narrated 'Abdullah:
"I was hiding beneath the covering of the Ka'bah, and three men came along - a man from the Quraish, and two of his brothers-in-law from Thaqif, or a man from Thaqif and two of his brothers-in-law from Quraish. Their bellies were fat, and they did not have much understanding. They said something that I could not understand, then one of them said: 'Do you think that Allah can hear what we are talking about?' Another said: 'If we raise our voices, He will hear it, but if we do not raise our voices, He will not hear it.' The other one said: 'If He can hear something from us, then He can hear all of it.'" 'Abdullah said: "I mentioned that to the Prophet (ﷺ), so Allah revealed: 'And you have not been hiding yourselves, lest your ears and your eyes and your skin should testify against you...' up to His saying: '...and you have become of those utterly lost! (42:22 & 23)"
English reference: Vol. 5, Book 44, Hadith 3249
Arabic reference: Book 47, Hadith 3557