Matthew 7:22

Many will say to me on that day, "'Master, Master, have we not prophesied in Thy name, and in Thy name expelled demons, and in Thy name performed many mighty works?'

John 11:51

It was not as a mere man that he thus spoke. But being High Priest that year he was inspired to declare that Jesus was to die for the nation,

1 Corinthians 13:2

If I possess the gift of prophecy and am versed in all mysteries and all knowledge, and have such absolute faith that I can remove mountains, but am destitute of 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
Many will say to me on that day, "'Master, Master, have we not prophesied in Thy name, and in Thy name expelled demons, and in Thy name performed many mighty works?'
John 11:51
It was not as a mere man that he thus spoke. But being High Priest that year he was inspired to declare that Jesus was to die for the nation,
1 Corinthians 13:2
If I possess the gift of prophecy and am versed in all mysteries and all knowledge, and have such absolute faith that I can remove mountains, but am destitute of Love, I am nothing.

General references

1 Corinthians 14:32
and the spirits of Prophets yield submission to Prophets.
1 Thessalonians 5:20
Do not think meanly of utterances of prophecy;