Christ told His fellow crucifictee, Today you will be with me in paradise. The thief wasn’t baptized, he confessed in his heart.
Being his own institution, Our Lord is able to dispense from the sacraments. His instructions for the rest of us are pretty clear.