the crucial factor is the general meaning, not the occasion (الْعِبْرَةُ بِعُمُومِ اللَّفْظِ لا بِخُصُوصِ السَّبَبْ)
علوم القرآن
التعريف :
A rule of methodology which means that general texts revealed on special occasions are considered in their general meaning, and not taken as limited to the occasion of revelation.