Matthew 7:22

Many will say to me in that day, Lord, Lord, have we not prophesied in thy name, and in thy name cast out demons, and in thy name done many mighty works?

John 11:51

But this he did not speak of himself; but being chief priest 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 that I could 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, have we not prophesied in thy name, and in thy name cast out demons, and in thy name done many mighty works?
John 11:51
But this he did not speak of himself; but being chief priest 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 that I could remove mountains, and have not love, I am nothing.

General references

1 Corinthians 14:32
and the spirits of the prophets are subject to the prophets;
1 Thessalonians 5:20
Despise not prophesyings.