قَرُبَ الْبَيْتُ مِنَ الْمَسْجِدِ — The house became near the mosque.
يَقْرُبُ الْبَيْتُ مِنَ الْمَسْجِدِ — The house is near the mosque.
بَعُدَ الْبَيْتُ عَنِ السُّوقِ — The house became far from the market.
يَبْعُدُ الْبَيْتُ عَنِ السُّوقِ — The house is far from the market.
Use مِنْ with nearness and عَنْ with distance in these examples.