Abu al-Abbas bin Surayj (may Allah have mercy on him) was asked about the description of the upright person, and he said that he should be free, Muslim, sane and adult, should not commit a major sin, should not persist in a minor sin, and should not abandon muru'ah (decency) in his usual conduct.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشهادات / 20750