I found the text below on another site. However, it doesn't say whether the source is a specific sutta, commentaries or something else. Could someone show me the origin?
Six things are conducive to the abandonment of restlessness and remorse:
- Knowledge of the Buddhist scriptures (Doctrine and Discipline);
- Asking questions about them;
- Familiarity with the Vinaya (the Code of Monastic Discipline, and for lay followers, with the principles of moral conduct);
- Association with those mature in age and experience, who possess dignity, restraint and calm;
- Noble friendship;
- Suitable conversation.
https://www.accesstoinsight.org/lib/authors/nyanaponika/wheel026.html