This is another matter of etiquette to which Allah has guided His believing
servants. Just as He commanded them to seek permission when entering, He also
commanded them to seek permission when leaving, especially when they are doing
something together with the Messenger , such as the Friday, `Id, or
congregational prayers, or a meeting for the purpose of consultation and so on.
Allah commanded them not to leave him in these situations until they had asked
his permission. If they did this, then they were of the true believers. Then
Allah commanded His Messenger to give permission when someone asked for it, if
he wanted to. He said:
[فَأْذَن لِّمَن
شِئْتَ مِنْهُمْ وَاسْتَغْفِرْ لَهُمُ اللَّهَ]
(give permission to whom you will of them, and ask Allah for their
forgiveness.)Abu Dawud reported that Abu Hurayrah said, "The Messenger of Allah
said:
«إِذَا انْتَهَى
أَحَدُكُمْ إِلَى الْمَجْلِسِ فَلْيُسَلِّمْ، فَإِذَا أَرَادَ أَنْ يَقُومَ
فَلْيُسَلِّمْ، فَلَيْسَتِ الْأُولَى بِأَحَقَّ مِنَ الْآخِرَةِ»
(When any of you joins a gathering, let him say Salam, and when he wants to
leave, let him say Salam. The former is not more important than the latter.)
This was also recorded by At-Tirmidhi and An-Nasa'i; At-Tirmidhi said: "It is a
Hasan Hadith.''
[لاَّ تَجْعَلُواْ
دُعَآءَ الرَّسُولِ بَيْنَكُمْ كَدُعَآءِ بَعْضِكُمْ بَعْضاً قَدْ يَعْلَمُ اللَّهُ
الَّذِينَ يَتَسَلَّلُونَ مِنكُمْ لِوَاذاً فَلْيَحْذَرِ الَّذِينَ يُخَـلِفُونَ
عَنْ أَمْرِهِ أَن تُصِيبَهُمْ فِتْنَةٌ أَوْ يُصِيبَهُمْ عَذَابٌ أَلِيمٌ ]
(63. Make not the calling of the Messenger among you as your calling one of
another. Allah knows those of you who slip away under shelter. And let those
beware who oppose the Messenger's commandment, lest some Fitnah should befall
them or a painful torment be inflicted on them.)