Ibn al nafis wikipedia
Islamic psychology or ʿilm al-nafs [1] (Arabic: علم النفس), the science of the nafs ("self" or "psyche"), [2] is the medical and philosophical study of the psyche from an Islamic perspective and addresses topics in psychology, neuroscience, philosophy of mind, and psychiatry as well as psychosomatic medicine.