قَفْلَةٌ كَغَزْوَةٍ
Returning from an expedition is like taking part in an expedition.
Source: Abu Dawud.
قَفْلَةٌ means a return, here from an expedition; غَزْوَةٌ denotes a military expedition. The prefix كَـ in كَغَزْوَةٍ is a particle of comparison, “like.” The wording compares the going and the return associated with that expedition.
This short expression functions as a nominal sentence: قَفْلَةٌ is the subject and كَغَزْوَةٍ functions as its predicate. It stresses that returning has significance too.
The specific historical meaning of ghazwah matters. Ordinary shopping trips or leisure journeys are not called expeditions by this comparison.