Abu Dharr reported,

The Messenger of Allah ﷺ said, "You will conquer Egypt, a land where the qirat is used as a measure. When you conquer it, treat its people well, for they have a covenant of protection and a tie of kinship," or he said, "a covenant of protection and a bond of marriage. When you see two men disputing there over the place of a single brick, leave it."He said, "I saw Abdul-Rahman bin Shurahbil bin Hasanah and his brother Rabia disputing over the place of a brick, so I left."

Muslim 6494

Sahih

حدثني زهير بن حرب وعبيد الله بن سعيد قالا حدثنا وهب بن جرير حدثنا أبي سمعت حرملة المصري يحدث عن عبد الرحمن بن شماسة عن أبي بصرة

عن أبي ذر قال

قال رسول الله ﷺ إنكم ستفتحون مصر وهي أرض يسمى فيها القيراط فإذا فتحتموها فأحسنوا إلى أهلها فإن لهم ذمة ورحما أو قال ذمة وصهرا فإذا رأيت رجلين يختصمان فيها في موضع لبنة فاخرج منها قال فرأيت عبد الرحمن بن شرحبيل بن حسنة وأخاه ربيعة يختصمان في موضع لبنة فخرجت منها

مسلم 6494صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Companions, may Allah be pleased with them
Chapter
Prophet's ﷺ advice regarding the people of Egypt
Numbering
Darussalam 6494
Muslim 6494