Likewise, the prohibition of allying with the disbelievers does not mean that it is forbidden to engage in lawful trade with them, to import useful goods and manufactured products, or to benefit from their expertise and inventions.
The Prophet ﷺ hired Ibn Uraiqit al-Laythi to guide him along the route while the man was still a disbeliever, and he borrowed money from some of the Jews.
Muslims have always imported merchandise and manufactured items from the disbelievers; this is simply a matter of purchasing from them for a price, and they hold no favor or grace over us on that account.
Such transactions are not among the causes for loving them or allying with them, for Allah has obligated love and alliance toward the believers and hatred and enmity toward the disbelievers.
Allah the Exalted says: “Indeed, those who have believed, emigrated, and striven with their wealth and their lives in the path of Allah, and those …”