What is the ruling on someone who possesses cash reaching the niṣāb (minimum threshold liable for zakah), and then uses part of it to purchase gold before the ḥawl (lunar year) is complete — must he pay zakāh on all of it [combined], or only on the remaining cash, excluding the gold?