Step 1: Sign into Office 365 using the URL http://portal.office.com
Step 2: Click on Admin and navigate to Exchange admin center
Step 3: Scroll down and click on More Features.
Step 4: Click Open under Transport Rules.
Step 5: Click on the Mail Flow tab.
Step 6: Click on the Add icon on the top-left.
Step 7: Select the option Restrict messages by sender or recipient..
Step 8: Enter a name and select The sender is located in the Apply the rule if area and then select Outside the organization.
Step 9: Now select Delete the message without notifying anyone in the Do the following area
Step 10: Click Save.