Abu Huraira also said: The Prophet said, "The cattle suffering from a disease should not be mixed up with healthy cattle (or said "Do not put a patient with a healthy person as a precaution.")
Hadith Referenceصحيح البخاري / كتاب الطب / 5774
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
´It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:` “A man with sick camels should not let them graze or drink alongside healthy ones.”
Maulana Ataullah Sajid
Benefits and Issues: The wisdom in this prohibition is that if, by Allah’s command, the healthy camels contract the disease, then a doubt may arise in the owner’s heart that this illness was caused by grazing the healthy camels together with the sick ones or by letting them drink water with them. Therefore, for the protection of faith, one should avoid any action that may give rise to doubts contrary to the correct creed.
Source: Commentary on Sunan Ibn Mājah by Mawlānā ‘Atā’ullāh Sājid, Page: 3541