Food safety falls under the Saudi Food and Drug Authority (SFDA), alongside the municipal licensing handled through the Balady platform under the Ministry of Municipalities and Housing (formerly MOMRAH). A documented food-safety system is part of operating legitimately, not optional — confirm the current requirements with the SFDA and the municipality, and budget for both the cost and the lead time.
From Saudi Arabia Restaurant Licence Cost: Every Fee, Explained — the full reading, with the method behind this answer.