Matthew 7:22

Many will say to me in that day, Lord, Lord, did we not prophesy in thy name, and in thy name cast out demons, and in thy name work many miracles?

John 11:51

And this he spoke not from himself; but being highpriest that year he prophesied that Jesus was about to die for the nation;

1 Corinthians 13:2

And though I have the gift of prophecy, and understand all mysteries and all knowledge, and though I have all faith, so as to remove mountains, and 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
Many will say to me in that day, Lord, Lord, did we not prophesy in thy name, and in thy name cast out demons, and in thy name work many miracles?
John 11:51
And this he spoke not from himself; but being highpriest that year he prophesied that Jesus was about to die for the nation;
1 Corinthians 13:2
And though I have the gift of prophecy, and understand all mysteries and all knowledge, and though I have all faith, so as to remove mountains, and have not love, I am nothing.

General references

1 Corinthians 14:32
And spirits of prophets are subject to prophets;
1 Thessalonians 5:20
despise not prophesyings,