Story of Ajamila from Srimad Bhagavad Mahapuran:
There was a brahmin guy. He was a decent guy. Once he saw a woman having s•x thing with a man in a jungle when he was going to market. Lust attacked him. He wanted to marry her. He quitted his parents and job. He went to stay with her. He procreated more than 9 children's with her. He kept wrong deeds till the age of 80. He reproduced his last son at the age of 80. He gave his name 'Narayana'. He fell sick because of old age and wrong deeds. Yam-duts came to take him. He suddenly took the name of his last son‘Narayana’, please come
His son was far away. But three blue coloured persons with four hands came to him. They were messengers of lord Vishnu. They fought with Yam-duts. Yam-duts argued with them that this guy had done many wrong deeds in his life. But Vishnu-duts gave counter argument that any person who takes the name of Lord Narayana , even by mistake, will be free from all types of sins. He is finally free from sins. Lord Narayana saved him from Yam-duts and gave him another birth in same birth. The person became a nice person since then.