This story is originally found in The Holy Injil, in the book of Luke, Surah 22 Ayat 54 through 65. Included below is the original text in Greek, followed by a modern English translation.
54 Συλλαβόντες δὲ αὐτὸν ἤγαγον καὶ εἰσήγαγον εἰς τὴν οἰκίαν ⸃ τοῦ ἀρχιερέως · ὁ δὲ Πέτρος ἠκολούθει μακρόθεν. 55 περιαψάντων δὲ πῦρ ἐν μέσῳ τῆς αὐλῆς καὶ συγκαθισάντων ἐκάθητο ὁ Πέτρος μέσος αὐτῶν. 56 ἰδοῦσα δὲ αὐτὸν παιδίσκη τις καθήμενον πρὸς τὸ φῶς καὶ ἀτενίσασα αὐτῷ εἶπεν · Καὶ οὗτος σὺν αὐτῷ ἦν · 57 ὁ δὲ ἠρνήσατο λέγων · Οὐκ οἶδα αὐτόν, γύναι. 58 καὶ μετὰ βραχὺ ἕτερος ἰδὼν αὐτὸν ἔφη · Καὶ σὺ ἐξ αὐτῶν εἶ · ὁ δὲ Πέτρος ἔφη · Ἄνθρωπε, οὐκ εἰμί. 59 καὶ διαστάσης ὡσεὶ ὥρας μιᾶς ἄλλος τις διϊσχυρίζετο λέγων · Ἐπ’ ἀληθείας καὶ οὗτος μετ’ αὐτοῦ ἦν, καὶ γὰρ Γαλιλαῖός ἐστιν · 60 εἶπεν δὲ ὁ Πέτρος · Ἄνθρωπε, οὐκ οἶδα ὃ λέγεις. καὶ παραχρῆμα ἔτι λαλοῦντος αὐτοῦ ἐφώνησεν ἀλέκτωρ. 61 καὶ στραφεὶς ὁ κύριος ἐνέβλεψεν τῷ Πέτρῳ, καὶ ὑπεμνήσθη ὁ Πέτρος τοῦ λόγου τοῦ κυρίου ὡς εἶπεν αὐτῷ ὅτι Πρὶν ἀλέκτορα φωνῆσαι σήμερον ἀπαρνήσῃ με τρίς. 62 καὶ ἐξελθὼν ἔξω ἔκλαυσεν πικρῶς. 63 Καὶ οἱ ἄνδρες οἱ συνέχοντες αὐτὸν ἐνέπαιζον αὐτῷ δέροντες, 64 καὶ περικαλύψαντες αὐτὸν ἐπηρώτων ⸃ λέγοντες · Προφήτευσον, τίς ἐστιν ὁ παίσας σε; 65 καὶ ἕτερα πολλὰ βλασφημοῦντες ἔλεγον εἰς αὐτόν.
54 So they arrested him and took him to the house of the high priest. Peter followed at a distance. 55 Then some of them lit a fire in the courtyard and sat around it, Peter among them. 56 As he sat there, a servant girl noticed him in the firelight. She stared at Peter and said, “This man was with him!”
57 But Peter denied it, saying “Lady, I don’t know him!”
58 After a while someone else saw him and said, “You’re one of them!”
Peter responded, “Mister, I am not!”
59 About an hour later yet one more person insisted, “This fellow was surely with him. He’s a Galilean, too!”
60 But Peter said, “Mister, I don’t know what you’re talking about!” Right then, while he was still speaking, a rooster crowed.
61 And the Lord turned to look at Peter, and Peter remembered what the Lord had said: “Before the rooster crows today, you will disown me three times.” 62 Then Peter went out and wept bitterly.
63 The men guarding Isa set about mocking and beating him. 64 And they blindfolded him, saying, “Prophesy! Guess who hit you that time!” 65 And in many other ways they continued to insult him.