Some people say, "Indeed, Allah is aware of what is in the hearts."
Is this saying correct? Was it circulated among the Salaf (righteous predecessors, may Allah be pleased with them)?
It is correct to say, "Allah is aware of what is in the hearts." Allah (Exalted be He) said, (Part No. 2; Page No. 397)
...and Allâh is All-Knower of what is in (your) breasts.
He also said,
Allâh knows what is in your hearts. And Allâh is Ever All-Knowing, Most Forbearing.
.Allah grant us success! May peace and blessings be upon our Prophet, his family and Companions.