Hi, SamehAbdallah!
Thanks for reaching Microsoft Community. If you are referring to the Surface Dock below, then, yes, it will work with Surface Pro 7.
We hope this helps you out, we highly encourage you to inform our Community by clicking on Yes or marking my post as an answer. This will help other members who may have the same issue as you. Otherwise, don't hesitate to update us so we can further assist you.
Kind regards,
Janette_Z