Maymun said: Set aside (first) whatever debt you owe, then pay zakah on what remains (if it reaches the nisab).