John 1:48

Nathanael says to Him, "Whence knowest Thou me?" Jesus answered, and said to him, "Before Philip called you, when you were under the fig tree, I saw you."

John 2:25

and had no need that any one should testify concerning man; for He Himself knew what was in man,

Matthew 6:6

But when you pray, enter into your closet; and, having closed your door, pray to your Father Who is in secret; and your Father Who seeth in secret will recompense you.

1 Corinthians 4:5

Wherefore, judge nothing before the time, until the Lord come, Who will both bring to light the hidden things of darkness, and make manifest the counsels of the hearts; and then will each one have his praise from God.

1 Corinthians 14:25

the secrets of his heart are made manifest; and so, falling on his face, he will worship God, reporting that, in reality, God is among you.

Revelation 2:18-19

"And to the angel of the assembly in Thyatira write these things." saith the Son of God, Who hath His eyes as a flame of fire, and His feet like burnished brass:

Treasury of Scripture Knowledge

Summary

Nathanael saith unto him, Whence knowest thou me? Jesus answered and said unto him, Before that Philip called thee, when thou wast under the fig tree, I saw thee.

General references

Bible References

When

John 2:25
and had no need that any one should testify concerning man; for He Himself knew what was in man,
Matthew 6:6
But when you pray, enter into your closet; and, having closed your door, pray to your Father Who is in secret; and your Father Who seeth in secret will recompense you.
1 Corinthians 4:5
Wherefore, judge nothing before the time, until the Lord come, Who will both bring to light the hidden things of darkness, and make manifest the counsels of the hearts; and then will each one have his praise from God.
1 Corinthians 14:25
the secrets of his heart are made manifest; and so, falling on his face, he will worship God, reporting that, in reality, God is among you.
Revelation 2:18
"And to the angel of the assembly in Thyatira write these things." saith the Son of God, Who hath His eyes as a flame of fire, and His feet like burnished brass:

General references

John 7:17
If any one wills to do His will, he shall know of the teaching, whether it is of God, or whether I speak from Myself.