The good thief, Dismas, asked for Christ’s forgiveness; and he received it. That’s in the Bible.
Judas asking Christ for forgiveness is not in the Bible. Nor is there any record of the second thief on a cross asking for, or receiving, forgiveness from Christ.
He never asked Jesus to forgive him. He did not experience spiritual penitence but only emotional remorse