Imam Nawawi
Imam nawawi in kitab riyadhus shalihin outlines three conditions for repentance to Allah SWT for sins not involving others' rights. Repentance is obligatory from all kinds of sins. If the sin involves others' rights, the conditions increase to four.