Hivyo, Allah (swt) aliweka yote hayo kwa Mtume (saw) peke yake. Baada ya hapo ilikuja vita vya Bani Qurayzha, baada ya wao kuvunja ahadi, kuwasaliti Waislamu, na kuungana na makabila yaliyopingana nao katika vita vya Al-Khandaq (Handaki). Hivyo Mtume wa Allah ﷺ aligawanya mali yao kati ya Waislamu, na kwa kila mpanda farasi alitenga sehemu tatu, na kwa kila mwenye miguu sehemu moja. Baadaye ikaja vita vya Khaybar, baada ya Mtume ﷺ kufanya mkataba wa amani na Quraysh huko Hudaybia; hivyo Allah (swt) aliifungulia Mtume wake ﷺ na Waislamu Khaybar kwa nguvu, akawapa umiliki wa ardhi yao, nyumba zao na mali yao. Kisha Mtume ﷺ aligawanya ngawira na ardhi baada ya kutoa sehemu ya tano. Aligawanya ardhi hiyo katika sehemu 1800 na sehemu kumi na nane, kila sehemu ikiwa na hisa 100, akakubaliana na watu wake kwamba wapewe nusu ya kile ardhi inachozalisha cha matunda na nafaka. Baada ya ushindi wa Khaybar, watu wa Fadak walimjia Mtume wa Allah ﷺ, naye akafanya amani nao, kwa sharti kwamba achukue nusu ya ardhi yao na miti yao ya tende, ambayo wataendelea kuifanyia kazi, na awaachie nusu nyingine ili wairithi. Hivyo nusu ya Fadak ilikuwa ni ya Mtume wa Allah ﷺ peke yake, kwa sababu ilipatikana bila nguvu, na alikuwa akitumia kila kitu kilichomfikia kutoka humo kama sadaka. Vivyo hivyo na watu wa Wadi Al-Qura, alifanya nao amani baada ya kuifungulia ardhi yao kwa nguvu, kwa sharti kwamba awaachie ardhi yao chini ya udhibiti wao, sawa na kile alichokubaliana na watu wa Khaybar. Kuhusu watu wa Tima’, walifanya amani na Mtume ﷺ kwa kumlipa Jizya, na kuwaachia nchi yao na ardhi yao.
Thus, Allah (swt) dedicated all of it to the Messenger (saw) alone. After this was the battle of Bani Qurayzha, after they had violated the covenant, betrayed the Muslims, and sided with the opposing tribes in the battle of Al-Khandaq (The Ditch). So the Messenger of Allah (saw) divided their wealth between the Muslims and dedicated to each rider three shares and to each footman one share. Later on the battle of Khaybar came, after the Prophet (saw) concluded the peace treaty with Quraysh in Hudaybia, thus Allah (swt) opened Khaybar for His Messenger (saw) and the Muslims by force, giving them ownership over their land, homes and wealth. The Prophet (saw) then divided the spoils and lands taking out the fifth. He divided the land into 1800 shares and 18 sections, each section having 100 shares, and agreed with its people to take half of what the land produced of fruits and grains. After the victory of Khaybar, the people of Fadak came to the Prophet of Allah (saw) where he made peace with them, on condition that he take half of their land and date trees, on which they continue to work and he leaves the other half for them to keep. So half of Fadak was made completely for the Messenger of Allah (saw) , because it was gained without force, and he used to spend whatever would come to him of it as charity. Similarly with the people of Wadi Al-Qura, he made peace with them after he opened their land by force, on condition that he keeps their land under their control, similar to what he concluded with the people of Khaybar. As for the people of Tima’, they made peace with the Prophet (saw) by paying him Jizya, keeping their country and land to them.