Jesus admonishes Peter to remain faithful and strengthen his brethren. Peter professes his devotion to Jesus. Jesus foretells Peter's denial and then gives the Intercessory Prayer.
Luke 22: 31-34
31 And the Lord said, Simon, Simon, behold, Satan hath desired to b have you, that he may sift you as wheat:
32 But I have prayed for thee, that thy faith fail not: and when thou art converted , strengthen thy brethren.
33 And he said unto him, Lord, I am ready to go with thee, both into prison, and to death.
34 And he said, I tell thee, Peter, the cock shall not crow this day, before that thou shalt thrice deny that thou knowest me.
The Church of Jesus Christ of Latter-day Saints