Vowing to furnish a Masjid but it was furnished by another

Q: A man vowed to carpet a certain Masjid (mosque) at his expense, if Allah (Exalted be He) helps him do something. He, with Allah's help, did that thing. However, the intended Masjid was found to have luxurious carpets and does not need any more. He wants to fulfill his vow. Is it permissible for him to donate the value of the carpets to another Masjid that is under construction or to carpet another Masjid in the same village?

A: If the reality is as you have mentioned and you can not fulfill the vow in the masjid you intended in your village, it is permissible to donate carpets to another Masjid that needs them.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.