Nephi references Deuteronomy 18:15 or 18. Both verses contain the reference.
Deuteronomy 18:15 says: “The Lord thy God will raise up unto thee a Prophet from the midst of thee, of thy brethren, like unto me; unto him ye shall hearken.”
Deuteronomy 18:18 declares: “I will raise them up a Prophet from among their brethren, like unto thee, and will put my words in his mouth; and he shall speak unto them all that I shall command him.”
Nephi declares that this prophet will be the Holy One of Israel, or Jehovah. Without specifically noting it, Nephi means that it will be Jehovah in his mortal mission. This is the context in which we see this reference in Acts 3:20–22: “And he shall send Jesus Christ, which before was preached unto you: Whom the heaven must receive until the times of restitution of all things, which God hath spoken by the mouth of all his holy prophets since the world began. For Moses truly said unto the fathers, A prophet shall the Lord your God raise up unto you of your brethren, like unto me; him shall ye hear in all things whatsoever he shall say unto you.”