Beware! whatever is in the skies and the earth is certainly Allahs. He indeed knows that on which you are, and the day they are returned to Him, He will inform them about that which they did, and Allah is the Knower of everything. (R 9)
Everything in the Universe belongs to Allah (SWT), He knows everything including the conditions of human beings, whether they are on Islam or not and this He will inform them on the day of Judgment.

