I asked someone who has communication with those that do surveying and investigation of sites in Waaqoyi. And he said that the bottom layers of the mosque are very old and it has signs of it being rebuilt over it, so it may support those traditions.
It's really a shame the state it's been reduced to, and Zayla in general after Italians bombed the city in competition for it with the British and then the french rail road system dismantling urban society by undermining it's importance as a commercial outlet by redirecting it's trade, leading people to abandon it.
Before that some old districts, gates/walls and buildings in Zayla was still standing even after its decline/impoverishment 1600s-1700s and the brief revival in the late 1800s.
Now the only solid building standing fully intact is the patron saint Shayk Saylici's tomb and shrine.