Reference Search: 1 Nephi 22:20-22
20 And the Lord will surely prepare a way for his people, unto the fulfilling of the words of Moses, which he spake, saying: A prophet shall the Lord your God raise up unto you, like unto me; him shall ye hear in all things whatsoever he shall say unto you. And it shall come to pass that all those who will not hear that prophet shall be cut off from among the people.
21 And now I, Nephi, declare unto you, that this prophet of whom Moses spake was the Holy One of Israel; wherefore, he shall execute judgment in righteousness.
22 And the righteous need not fear, for they are those who shall not be confounded. But it is the kingdom of the devil, which shall be built up among the children of men, which kingdom is established among them which are in the flesh—
Quote for Discussion
This may well be the most often-quoted messianic prophecy in scripture. It was first uttered by Moses to the children of Israel (Deuteronomy 18:15-19). Nephi quoted it to his people, Peter quoted it in his great discourse on the grounds of Herod’s temple (Acts 3:22-23). Christ quoted it to the nation of the Nephites (3 Nephi 21:11). Stephen quoted it while transfigured before the Sanhedrin (Acts 7:37). Moroni quoted it to Joseph Smith (Joseph Smith—History 1:40), and we find it referred to in the revelation given as a preface to the Doctrine and Covenants (D&C 1:14) and in the revelation that was once known as its appendix (D&C 133:63).
By extension, to reject those whom Christ has commissioned to testify of him is to reject him and thus to be cut off from among the people of the covenant.
Ibid, p. 176