Mark 2:8

And immediately Jesus, having known in his spirit that they thus reason in themselves, said to them, 'Why these things reason ye in your hearts?

1 Chronicles 29:17

'And I have known, my God, that Thou art trying the heart, and uprightness dost desire; I, in the uprightness of my heart, have willingly offered all these: and now, Thy people who are found here I have seen with joy to offer willingly to Thee.

Psalm 139:2

Thou -- Thou hast known my sitting down, And my rising up, Thou hast attended to my thoughts from afar.

Proverbs 15:26

An abomination to Jehovah are thoughts of wickedness, And pure are sayings of pleasantness.

Proverbs 24:9

The thought of folly is sin, And an abomination to man is a scorner.

Isaiah 55:7

Forsake doth the wicked his way, And the man of iniquity his thoughts, And he returneth to Jehovah, and He pitieth him, And unto our God for He multiplieth to pardon.

Ezekiel 38:10

Thus said the Lord Jehovah: And it hath come to pass in that day, Come up do things on thy heart, And thou hast thought an evil thought,

Matthew 9:4

And Jesus, having known their thoughts, said, 'Why think ye evil in your hearts?

Mark 7:21

for from within, out of the heart of men, the evil reasonings do come forth, adulteries, whoredoms, murders,

Luke 5:22

And Jesus having known their reasonings, answering, said unto them, 'What reason ye in your hearts?

Luke 6:8

And he himself had known their reasonings, and said to the man having the withered hand, 'Rise, and stand in the midst;' and he having risen, stood.

Luke 7:39-40

And the Pharisee who did call him, having seen, spake within himself, saying, 'This one, if he were a prophet, would have known who and of what kind is the woman who doth touch him, that she is a sinner.'

Luke 24:38

And he said to them, 'Why are ye troubled? and wherefore do reasonings come up in your hearts?

John 2:24-25

and Jesus himself was not trusting himself to them, because of his knowing all men,

John 6:64

but there are certain of you who do not believe;' for Jesus had known from the beginning who they are who are not believing, and who is he who will deliver him up,

John 21:17

He saith to him the third time, 'Simon, son of Jonas, dost thou dearly love me?' Peter was grieved that he said to him the third time, 'Dost thou dearly love me?' and he said to him, 'Lord, thou hast known all things; thou dost know that I dearly love thee.' Jesus saith to him, 'Feed my sheep;

Acts 5:3

And Peter said, 'Ananias, wherefore did the Adversary fill thy heart, for thee to lie to the Holy Spirit, and to keep back of the price of the place?

Acts 8:22

reform, therefore, from this thy wickedness, and beseech God, if then the purpose of thy heart may be forgiven thee,

Hebrews 4:13

and there is not a created thing not manifest before Him, but all things are naked and open to His eyes -- with whom is our reckoning.

Revelation 2:23

and her children I will kill in death, and know shall all the assemblies that I am he who is searching reins and hearts; and I will give to you -- to each -- according to your works.

Treasury of Scripture Knowledge

Summary

And immediately when Jesus perceived in his spirit that they so reasoned within themselves, he said unto them, Why reason ye these things in your hearts?

General references

Bible References

When

1 Chronicles 29:17
'And I have known, my God, that Thou art trying the heart, and uprightness dost desire; I, in the uprightness of my heart, have willingly offered all these: and now, Thy people who are found here I have seen with joy to offer willingly to Thee.
Matthew 9:4
And Jesus, having known their thoughts, said, 'Why think ye evil in your hearts?
Luke 5:22
And Jesus having known their reasonings, answering, said unto them, 'What reason ye in your hearts?
Luke 6:8
And he himself had known their reasonings, and said to the man having the withered hand, 'Rise, and stand in the midst;' and he having risen, stood.
Luke 7:39
And the Pharisee who did call him, having seen, spake within himself, saying, 'This one, if he were a prophet, would have known who and of what kind is the woman who doth touch him, that she is a sinner.'
John 2:24
and Jesus himself was not trusting himself to them, because of his knowing all men,
John 6:64
but there are certain of you who do not believe;' for Jesus had known from the beginning who they are who are not believing, and who is he who will deliver him up,
John 21:17
He saith to him the third time, 'Simon, son of Jonas, dost thou dearly love me?' Peter was grieved that he said to him the third time, 'Dost thou dearly love me?' and he said to him, 'Lord, thou hast known all things; thou dost know that I dearly love thee.' Jesus saith to him, 'Feed my sheep;
Hebrews 4:13
and there is not a created thing not manifest before Him, but all things are naked and open to His eyes -- with whom is our reckoning.
Revelation 2:23
and her children I will kill in death, and know shall all the assemblies that I am he who is searching reins and hearts; and I will give to you -- to each -- according to your works.

Why

Mark 7:21
for from within, out of the heart of men, the evil reasonings do come forth, adulteries, whoredoms, murders,
Psalm 139:2
Thou -- Thou hast known my sitting down, And my rising up, Thou hast attended to my thoughts from afar.
Proverbs 15:26
An abomination to Jehovah are thoughts of wickedness, And pure are sayings of pleasantness.
Proverbs 24:9
The thought of folly is sin, And an abomination to man is a scorner.
Isaiah 55:7
Forsake doth the wicked his way, And the man of iniquity his thoughts, And he returneth to Jehovah, and He pitieth him, And unto our God for He multiplieth to pardon.
Ezekiel 38:10
Thus said the Lord Jehovah: And it hath come to pass in that day, Come up do things on thy heart, And thou hast thought an evil thought,
Luke 24:38
And he said to them, 'Why are ye troubled? and wherefore do reasonings come up in your hearts?
Acts 5:3
And Peter said, 'Ananias, wherefore did the Adversary fill thy heart, for thee to lie to the Holy Spirit, and to keep back of the price of the place?
Acts 8:22
reform, therefore, from this thy wickedness, and beseech God, if then the purpose of thy heart may be forgiven thee,

General references

John 20:23
if of any ye may loose the sins, they are loosed to them; if of any ye may retain, they have been retained.'