Matthew 7:22

On that day many will say to me, 'Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?'

John 11:51

He did not say this on his own, but being high priest that year he prophesied that Jesus would die for the nation,

1 Corinthians 13:2

If I have the gift of prophecy, and understand all mysteries and all knowledge; and if I have all faith, so as to remove mountains, but have not love, I am nothing.

Treasury of Scripture Knowledge

Summary

And he went thither to Naioth in Ramah: and the Spirit of God was upon him also, and he went on, and prophesied, until he came to Naioth in Ramah.

Bible References

The spirit

Matthew 7:22
On that day many will say to me, 'Lord, Lord, did we not prophesy in your name, and cast out demons in your name, and do many mighty works in your name?'
John 11:51
He did not say this on his own, but being high priest that year he prophesied that Jesus would die for the nation,
1 Corinthians 13:2
If I have the gift of prophecy, and understand all mysteries and all knowledge; and if I have all faith, so as to remove mountains, but have not love, I am nothing.

General references

1 Corinthians 14:32
and the spirits of prophets are subject to prophets.
1 Thessalonians 5:20
do not despise prophecies.