Mark 2:8

Conscious at once that they were arguing to themselves in this way, Jesus asked them, "Why do you argue thus in your hearts?

Matthew 9:4

Jesus saw what they were thinking and said, "Why do you think evil in your hearts?

Mark 7:21

From within, from the heart of man, the designs of evil come: sexual vice, stealing, murder,

Luke 5:22

Conscious that they were arguing to themselves, Jesus addressed them, saying, "Why argue in your hearts?

Luke 6:8

He knew what was in their minds; so he told the man with the withered hand, "Rise and stand forward." He rose and stood before them.

Luke 7:39-40

When his host the Pharisee noticed this, he said to himself, "If he was a prophet he would know what sort of a woman this is who is touching him; for she is a sinner."

Luke 24:38

but he said to them, "Why are you upset? Why do doubts invade your mind?

John 2:24-25

Jesus, however, would not trust himself to them; he knew all men,

John 6:64

And yet there are some of you who do not believe" (for Jesus knew from the very first who the unbelieving were, and who was to betray him;

John 21:17

For the third time he asked him, "Simon, son of John, do you love me?" Now Peter was vexed at being asked a third time, "Do you love me?" So he replied; "Lord, you know everything, you can see I love you." Jesus said, "Then feed my sheep.

Acts 5:3

"Ananias," said Peter, "why has Satan filled your heart and made you cheat the holy Spirit by appropriating some of the money paid for the land?

Acts 8:22

So repent of this wickedness of yours, and ask God whether you cannot be forgiven for your heart's purpose.

Hebrews 4:13

And no created thing is hidden from him; all things lie open and exposed before the eyes of him with whom we have to reckon.

Revelation 2:23

and her children I will exterminate. So shall all the churches know that I am the searcher of the inmost heart; I will requite each of you according to what you have done.

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

Matthew 9:4
Jesus saw what they were thinking and said, "Why do you think evil in your hearts?
Luke 5:22
Conscious that they were arguing to themselves, Jesus addressed them, saying, "Why argue in your hearts?
Luke 6:8
He knew what was in their minds; so he told the man with the withered hand, "Rise and stand forward." He rose and stood before them.
Luke 7:39
When his host the Pharisee noticed this, he said to himself, "If he was a prophet he would know what sort of a woman this is who is touching him; for she is a sinner."
John 2:24
Jesus, however, would not trust himself to them; he knew all men,
John 6:64
And yet there are some of you who do not believe" (for Jesus knew from the very first who the unbelieving were, and who was to betray him;
John 21:17
For the third time he asked him, "Simon, son of John, do you love me?" Now Peter was vexed at being asked a third time, "Do you love me?" So he replied; "Lord, you know everything, you can see I love you." Jesus said, "Then feed my sheep.
Hebrews 4:13
And no created thing is hidden from him; all things lie open and exposed before the eyes of him with whom we have to reckon.
Revelation 2:23
and her children I will exterminate. So shall all the churches know that I am the searcher of the inmost heart; I will requite each of you according to what you have done.

Why

Mark 7:21
From within, from the heart of man, the designs of evil come: sexual vice, stealing, murder,
Luke 24:38
but he said to them, "Why are you upset? Why do doubts invade your mind?
Acts 5:3
"Ananias," said Peter, "why has Satan filled your heart and made you cheat the holy Spirit by appropriating some of the money paid for the land?
Acts 8:22
So repent of this wickedness of yours, and ask God whether you cannot be forgiven for your heart's purpose.

General references

John 20:23
If you remit the sins of any, they are remitted: if you retain them, they are retained."