It is narrated from Sayyiduna Imran bin Husayn (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) forbade selling weapons during times of fitnah (civil strife).
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15377