Hi Hamid,
Currently we couldn't make records created from one app not show in another app. i.e: Contacts created in Sales Hub couldn't be set to only available in Sales Hub.
There is a two options field "Marketing only" in Contact entity, it will let us know whether the contact is only for marketing, so you could take workaround below as reference. (The field has been added to Contact form > Details tab > Marketing section.)
1. Run a JS function for all forms of Contact entity in Marketing app, it will set “Marketing Only field to Yes if current app is "Marketing".(Optional, you could also set the field manually.)
Xrm.Utility.getGlobalContext().getCurrentAppName().then(function(app) {
if (app === 'Marketing') {
formContext.getAttribute("marketingonly").setValue(true);
}
}, function() {
console.log("err");
});
How to get current app name by JS:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-utility/getglobalcontext/getcurrentappname
2. Apply filter "Marketing Only equals to No" to all existing views in Sales Hub.

3. Create a copy of "My Active Contacts" view or "Active Contacts" view, name it as "My Active Contacts(Marketing Only)".
The only difference between the copied view and the existing view is that the filter will become to "Marketing Only equals Yes".

4. Edit Marketing app in make.powerapps.com, only enable "My Active Contacts(Marketing Only)" view to the app.
(Keep other necessary views based on your requirement.)


Finally, marketing Only contacts will only display in Marketing app.
Regards,
Clofly