The only hardcore evidence of the somali language written in any form of script dates back to the late 1800s early 1900s written in wadaad Arabic script. We can assume that Arabic script was used even a bit earlier but evidence is scars because of lack of research.
Wadaad script goes back to the 1300s at least.