Matthew 7:22

Many persons will say to me on the [judgment] day, 'Lord, Lord, did we not prophesy by [the authority of] your name, and drive out evil spirits and perform many powerful [supernatural] deeds by your name?'

John 11:51

Now he did not say this on his own [i.e., he was not aware of the significance of his words], but since he was head priest that year, he was prophesying [i.e., predicting] that Jesus should die for the nation.

1 Corinthians 13:2

And if I have the [spiritual] gift of prophecy, and can understand all [of God's] secret purposes, and have all knowledge; and if I have all [the supernatural] faith necessary to relocate mountains [See Matt. 17:20], but do not have love [for people], 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 persons will say to me on the [judgment] day, 'Lord, Lord, did we not prophesy by [the authority of] your name, and drive out evil spirits and perform many powerful [supernatural] deeds by your name?'
John 11:51
Now he did not say this on his own [i.e., he was not aware of the significance of his words], but since he was head priest that year, he was prophesying [i.e., predicting] that Jesus should die for the nation.
1 Corinthians 13:2
And if I have the [spiritual] gift of prophecy, and can understand all [of God's] secret purposes, and have all knowledge; and if I have all [the supernatural] faith necessary to relocate mountains [See Matt. 17:20], but do not have love [for people], I am nothing.

General references

1 Corinthians 14:32
And the prophets' spirits are [to be] under the prophets' control [i.e., a prophet was to determine if or when he exercised his gift],
1 Thessalonians 5:20
Do not look down on prophetic messages.