Illā directly gives the genitive case in «mā marartu illā bi-Zaydin».

Al-Mustathnā: Connected and Disconnected Exceptions, Four Case Rules