Hadith no. 2462 (below) is a repeat. Read it here.
Volume 4, Book 52, Number 69 :
Narrated by Anas bin Malik (radiallaahu `anhu)
For thirty days Allah’s Apostle (sallallaahu `alayhi wasallam) invoked Allah to curse those who had killed the companions of Bir-Mauna; he invoked evil upon the tribes of Ral, Dhakwan, and Usaiya who disobeyed Allah and His Apostle (sallallaahu `alayhi wasallam). There was reveled about those who were killed at Bir-Mauna a Quranic Verse we used to recite, but it was cancelled later on. The Verse was: “Inform our people that we have met our Lord. He is pleased with us and He has made us pleased”.
Volume 4, Book 52, Number 70 :
Narrated by Jabir bin Abdullah (radiallaahu `anhu)
“Some people drank alcohol in the morning of the day (of the battle) of Uhud and were martyred (on the same day).” Sufyan was asked, “(Were they martyred) in the last part of the day?)” He replied, “Such information does not occur in the narration.”
The questioner means to ask about the fate of those martyrs considering they drank alcohol in the morning. The prohibition wasn’t established at that time so alcohol wasn’t haram for them. Ibn Kathir mentions a narration in the commentary of verses 90-91 of Surah Al-Maa’idah:
﴿يَـأَيُّهَا الَّذِينَ آمَنُواْ إِنَّمَا الْخَمْرُ وَالْمَيْسِرُ وَالاٌّنصَابُ وَالاٌّزْلاَمُ رِجْسٌ مِّنْ عَمَلِ الشَّيْطَـنِ فَاجْتَنِبُوهُ لَعَلَّكُمْ تُفْلِحُونَ ﴾
(O you who believe! Khamr, Maysir, Ansab, and Azlam are an abomination of Shaytan’s handiwork. So avoid that in order that you may be successful.)﴿5:90-91﴾ So they said, `We abstained, O Lord!’ Later, some people said, `O Allah’s Messenger! Some people died in the cause of Allah, while some others died in their beds, but they used to drink alcohol and indulge in gambling, which Allah has made a Rijs of the work of Shaytan.’ So Allah sent down,
﴿لَيْسَ عَلَى الَّذِينَ ءَامَنُواْ وَعَمِلُواْ الصَّـلِحَـتِ جُنَاحٌ فِيمَا طَعِمُواْ﴾
(Those who believe and do righteous good deeds, there is no sin on them for what they ate…) ﴿5:93﴾, until the end of the Ayah. The Prophet said,
«لَوْ حُرِّمَ عَلَيْهِمْ لَتَرَكُوهُ كَمَا تَرَكْتُم»
(Had they been made impermissible for them, they would have abandoned them as you have abandoned them.) Ahmad recorded this Hadith.
Ahadith 2410 – 2412 (below) are repeats. See linked text for related posts.
Volume 4, Book 51, Number 17 :
Narrated by Anas (radiallaahu `anhu)
The Prophet (sallallaahu `alayhi wasallam) saw a man driving a Badana (i.e. camel for sacrifice) and said to him, “Ride on it.” The man said, “O Allah’s Apostle! It is a Badana.” (The Prophet (sallallaahu `alayhi wasallam) repeated his order) and on the third or fourth time he said, “Ride it, “woe to you!” (or said: “May Allah be merciful to you).”
Volume 4, Book 51, Number 18 :
Narrated by Abu Huraira (radiallaahu `anhu)
Allah’s Apostle (sallallaahu `alayhi wasallam) saw a man driving a Badana and said to him, “Ride on it,” and on the second or the third time he added, “Woe to you.”
Volume 4, Book 51, Number 19 :
Narrated by Ibn ‘Abbas (radiallaahu `anhu)
The mother of Sad bin ‘Ubada (radiallaahu `anhu) died in his absence. He said, “O Allah’s Apostle! My mother died in my absence; will it be of any benefit for her if I give Sadaqa on her behalf?” The Prophet (sallallaahu `alayhi wasallam) said, “Yes,” Sad (radiallaahu `anhu) said, “I make you a witness that I gave my garden called Al Makhraf in charity on her behalf.”
Volume 4, Book 51, Number 20 :
Narrated by Kab bin Malik (radiallaahu `anhu)
I said, “O Allah’s Apostle! For the acceptance of my repentance I wish to give all my property in charity for Allah’s sake through His Apostle (sallallaahu `alayhi wasallam).” He said, “It is better for you to keep some of the property for yourself.” I said, “Then I will keep my share in Khaibar.”
The story of Ka’b’s (radiallaahu `anhu) repentance is most beautiful. He narrated it in his own words to his son who then narrated it further, and it’s recorded in Bukhari and Muslim. We’ll come to the story after this point: it is mustahabb (liked) to give charity after committing a sin (and repenting).
It was narrated that Ka‘b ibn ‘Ajrah (may Allah be pleased with him) said: The Messenger of Allah (blessings and peace of Allah be upon him) said to me:
“Charity extinguishes sin as water extinguishes fire.”
Al-Tirmidhi (614); classed as saheeh by al-Albaani in Sunan al-Tirmidhi.
The Story of Ka’b’s (radiallaahu `anhu) Repentance
After the Conquest of Makkah, Caeser – Ruler of Byzantium, which was considered the greatest military force on earth at the time – could no longer turn a blind eye to the activities of the Muslims. He was anxiously aware of the Arab tribes’ expectations of independence, and their hopes of getting free from his reign and influence. They could not ignore the alliance of the Arab tribes on his borders to the Muslims. So he concluded that the demolition of the Muslims’ power had grown an urgent necessity. This decision of his should, in his opinion, be achieved before the Muslims become too powerful to conquer, and raise troubles and unrest in the adjacent Arab territories. Thus, Caeser raised a huge army of Byzantine and pro-Roman Ghassanide tribes to launch a decisive bloody battle against the Muslims. News of this army reached the Muslims and much fear spread in their hearts. After much deliberating on the situation, the Messenger of Allah sallallahu ‘alayhi wa sallam made up his mind and ordered his companions to prepare for war. No sooner had the Muslims heard the voice of the Prophet sallallahu ‘alayhi wa sallam calling them to fight the Byzantines, than they rushed to comply with his orders. Almost all the Muslims responded positively. Only those who had weakness in their hearts favoured to stay behind. They were only three people. Their story is told below:
Due to its particular circumstances, this invasion was a particularly severe trial provided by Allah only to try the believers’ faith and sort them out from the others. This is Allah’s permanent Will in such circumstances. In this respect He says:
“Allah will not leave the believers in the state in which you are in now, until He distinguishes the wicked from the good … “[Al-Qur’an 3:179]
Lagging behind and hanging back from full participation in that invasion amounted to a degree of hypocrisy. Whenever the Messenger of Allah sallallahu ‘alayhi wa sallam was informed of a man’s lingering, he would say: “Leave him alone! If Allah knows him to be good, He will enable him to follow you; but if he were not so, Allah would relieve us of him.”
Nobody stayed behind except those who were either hindered by a serious excuse or the hypocrites who told lies to Allah and His Messenger. Some of those hypocrites’ lingering was due to an excuse based on forgery and delusion. Some others tarried, but didn’t ask for instant permission. But there were three believers who unjustifiably lingered. They were the ones whose faith Allah tried, but later He returned to them in Mercy and accepted their repentance. One of the believers’ stories is recorded in an authentic hadeeth:
It has been related by ‘Abdullah ibn Ka’ab ibn Malik, who became Ka’ab’s guide from amongst his children – when he became blind. He said: I heard Ka’ab ibn Malik speaking about the incident concerning his non-participation during the Battle of Tabuk. Ka’ab said:
“I was not absent from the Messenger of Allah sallallahu ‘alayhi wa sallam during any campaign that he fought in, except the Battle of Tabuk. Nevertheless, I was absent from the Battle of Badr. However, no individual was admonished for non-participation. Indeed, the Messenger of Allah sallallahu ‘alayhi wa sallam departed in search of a caravan of the Quraysh, thereafter certain events took place until Allah assembled the two armies unexpectedly. Verily, I witnessed the night of Al-‘Aqabah (the Pledge) with the Messenger of Allah sallallahu ‘alayhi wa sallam, the night wherein we pledged our allegiance to Islam. Furthermore I would not exchange it for participation in the Battle of Badr, regardless of the fact that the Battle of Badr is deemed more noteworthy amongst the people. In relation to my news: I had never before been stronger nor wealthier than at the time I remained behind the Prophet sallallahu ‘alayhi wa sallam during that campaign. By Allah – I had never before been in possession of two she-camels, until the time of the battle.”
The Messenger of Allah sallallahu ‘alayhi wa sallam would conceal his intention to embark upon a military expedition by making reference to other campaigns, until the time for that expedition arrived.
The Messenger of Allah sallallahu ‘alayhi wa sallam conducted that expedition during a season of extreme heat, undertaking a lengthy journey through desert terrain. In addition, the enemy was great in number. Thus, the Prophet sallallahu ‘alayhi wa sallam, clarified the matter to the Muslims, in order that they prepare themselves adequately for their campaign, and he informed them of their intended destination. The Messenger of Allah sallallahu ‘alayhi wa sallam was accompanied by a considerable number of Muslims, whose names could not be recorded in a book. Ka’ab continued:
“Any individual who wished to remain absent would assume that his absence would pass unnoticed, unless it was revealed by Allah by means of Divine Revelation. The Messenger of Allah sallallahu ‘alayhi wa sallam undertook that expedition during a season wherein the fruit had ripened and the shade had become pleasant.
“The Messenger of Allah sallallahu ‘alayhi wa sallam and the Muslims equipped themselves with the necessary provisions. I too departed in order to prepare myself, however I returned without accomplishing anything. I would say to myself: I am able to prepare myself. Hence, I continued to postpone my preparations. However the people occupied themselves in earnest with the journey, until the day arrived wherein the Messenger of Allah sallallahu ‘alayhi wa sallam and the Muslims proceeded to depart. However I had not completed any part of my preparations. I said to myself: I shall prepare myself in one or two days after his departure, and then I will join them.
“The morning after their departure, I set out in order to equip myself. However, I returned without completing anything. The following morning, I set out again, nevertheless, but I returned without accomplishing anything. This continued until they hastened towards the battle, and the campaign had passed by. Nevertheless, I intended to depart and reach them, would that I had done so! However, I was not destined to do that.
“After the departure of the Messenger of Allah sallallahu ‘alayhi wa sallam I would enter amongst the people and it would become a cause of sadness for me. For I did not see except the one suspected of being a hypocrite, or the weak and infirm whom Allah had excused from participation.
“The Messenger of Allah sallallahu ‘alayhi wa sallam did not remember me until he arrived in Tabuk. He was sitting amongst his people in Tabuk and asked, ‘What happened to Ka’ab?’ A man from amongst the tribe of Bani Salimah responded: ‘O Messenger of Allah, he was hindered by his garments and pleasure for his clothes and his self.’
“Mu’adh ibn Jabal said: ‘What a wretched statement you have uttered. O Messenger of Allah, we do not know of him save goodness.’
“Hence, the Messenger of Allah sallallahu ‘alayhi wa sallam became silent. Whilst he was in that position, he saw a man clothed in a white garment real in essence (not merely a desert mirage). The Messenger of Allah sallallahu ‘alayhi wa sallam said: ‘May it be Abu Khaythama al-Ansari, he was the one who donated a measure of dates when the Munafiqin (Hypocrites) defamed him.’ “
Ka’ab ibn Malik continued:
“When I learned that he had turned in order to return, I was consumed by distress, and started therefore to invent lies. I started to question myself: With what can I avoid his anger tomorrow? I sought assistance from every individual of sound mind and judgment from amongst my family.
“When it was mentioned that the Messenger of Allah’s sallallahu ‘alayhi wa sallam arrival was imminent, the false excuses vanished from my mind. I recognized that I could not liberate myself from this predicament by means of falsehood. I therefore resolved to speak the truth.
“The Messenger of Allah sallallahu ‘alayhi wa sallam arrived the following morning. It was a practice of the Prophet sallallahu ‘alayhi wa sallam that upon returning from a journey, he would proceed towards the Mosque and perform a two rak’ah prayer therein, and then sit amongst the people. After those matters had taken place, the absentees approached him. They started to present their excuses and take oaths to that effect. There were over eighty men in number. The Messenger of Allah sallallahu ‘alayhi wa sallamaccepted their excuses, their oaths, and sought forgiveness on their behalf. In addition, he entrusted unto Allah their secret affairs. Thereafter I approached him, and conveyed the greeting upon him. He smiled – the smile of the one enraged. Then he said: ‘Come forward.’ I therefore approached him walking until I was sitting before him. Then he said: ‘What prevented you from accompanying us? Had you not purchased a riding animal?’
“I responded: ‘Of course O Messenger of Allah. However, by Allah, if I was in the presence of any other man from amongst the inhabitants of this World, I would avoid His wrath by presenting an excuse for I have been granted the ability to speak in an eloquently persuasive manner. However, I am aware that if I utter a lie today in order to seek your pleasure, certainly Allah will cause you to become enraged with me in the future. Alternatively, if I inform you of the truth, thereby causing you to become angry, I may nevertheless hope for Allah’s Pardon. No, By Allah I have no excuse to present. I had never before been stronger nor wealthier than during the time I neglected to accompany you.’
“The Messenger of Allah sallallahu ‘alayhi wa sallam replied: ‘In relation to this man – he has spoken the truth. Therefore, stand until Allah pronounces judgment in this matter.’ I therefore stood, a group of men from the tribe of Bani Salimah became disorderly and started following me. They addressed me: ‘By Allah – we have not known you to commit a misdeed. Verily you erred in not excusing yourself before the Messenger of Allah sallallahu ‘alayhi wa sallam in a similar manner to the other absentees who excused themselves. The Messenger of Allah’s sallallahu ‘alayhi wa sallam action of seeking forgiveness for your misdeed would have been sufficient for you.’ They continued to reprimand me until I desired to return to the Prophet sallallahu ‘alayhi wa sallam and fabricate a lie against myself (contradict my story).
“However I questioned them, ‘Is there any other individual in a similar position?’ They responded, ‘Yes, there are two men who uttered the same statement as you and both received the same directive as you did. ‘I asked: ‘Who are these two men?’ They answered: ‘Murarah ibn al-Rabi’ and Hilal ibn Umayyah al-Waqifi.’
“By their statement, they had made reference to two virtuous men who had participated in the Battle of Badr, and were examples to be followed. After they had mentioned these two men I remained steadfast upon my original statement.
“Thereafter, the Messenger of Allah sallallahu ‘alayhi wa sallam prohibited the Muslims from speaking to us – namely the three individuals from amongst us who had neglected to accompany him.
“As a consequence the people avoided us and altered their conduct towards us, until the land wherein I lived appeared foreign, not one which I was familiar with. We remained in that state for a period of fifty nights. In relation to my companions – they surrendered themselves to their houses and remained seated therein, weeping. However, I was the youngest and most forbearing of the three, I would therefore exit the house in order to perform the prayer with the other Muslims.
“I would wander around the markets, yet no one would speak to me. I would approach the Messenger of Allah sallallahu ‘alayhi wa sallam and convey the greeting upon him whilst he was sitting amidst his gatherings, which took place upon completion of the prayer. I would question myself: Did his lips move in the act of reciprocating the greeting upon me or not? Thereafter, I would perform the prayer close by him, and look towards him in a surreptitious manner. When I occupied myself with the prayer, he would turn towards me. However, when I looked in his direction, he would avoid me. When this period of estrangement lengthened, I set out to walk until I climbed upon the wall of Abu Qatadah’s garden. He was my cousin and amongst the most beloved of people to me. I conveyed the greeting upon him, and by Allah – he did not reciprocate the greeting upon me. Hence, I said: ‘O Abu Qatadah: I implore you by Allah, are you aware that I love Allah and His Messenger?’ He remained silent. I appealed to him by Allah a second time, however he remained silent. Then he responded: ‘Allah and His Messenger sallallahu ‘alayhi wa sallam are greater in knowledge.’ Thereupon tears flowed from my eyes, I turned away and climbed over the wall.”
“Whilst I was walking in the market in Madinah I saw a Christian farmer from amongst the farmers of Sham, who had traveled to Madinah in order to sell their produce. He said: ‘Who shall direct me to towards Ka’ab bin Malik?’ The people started to gesture towards me, until he approached me and presented me with a letter from the King of Ghassan, in which it was written:
‘To proceed, it has come to our attention that your companion has dealt with you in a harsh manner. Allah has not rendered this world for you as a dwelling of disgrace and degradation, nor one of loss and ruin. So join us and we shall bestow upon you comfort and consolation.’
“Upon reading the letter I said to myself: This too is a trial placed before me. I therefore placed the letter in the oven and created a fire by burning it therein.
“When a period of forty out of fifty nights had passed, the messenger of the Messenger of Allah sallallahu ‘alayhi wa sallamapproached me and said: ‘The Messenger of Allah sallallahu ‘alayhi wa sallam commands you to distance yourself from your wife.’ I said: ‘Should I divorce her, or what must I do?’ He responded: ‘No, distance yourself from her and do not approach her. The Prophetsallallahu ‘alayhi wa sallam has issued a similar directive to your two companions.’ Hence, I said to my wife:
‘Go to your parents and remain with them until Allah passes judgment in this matter.’ “
“The wife of Hilal ibn Umayyah came to the Apostle of Allah sallallahu ‘alayhi wa sallam and said: ‘O Messenger of Allah, verily Hilal bin Umayyah is an elderly man who is incapable of taking care of himself. Furthermore, he is not in possession of a servant, would you therefore object if I was to serve him?’ He responded: ‘No, but he must not approach you.’ She said: ‘By Allah, he has no desire for any matter. By Allah, he has not ceased to weep from the day this matter started until this time now.’ Some of my family members questioned me: ‘Why don’t you seek permission from the Messenger of Allah sallallahu ‘alayhi wa sallam concerning your wife, as he has granted permission for the wife of Hilal bin Umayyah to serve him?’ I responded: ‘By Allah, I shall not seek permission from the Messenger of Allah sallallahu ‘alayhi wa sallam concerning her. I am not aware of what the Messenger of Allah sallallahu ‘alayhi wa sallam would say if I sought his permission in relation to her whilst I am still a young man.’ I remained in that state for an additional ten nights, until fifty nights had been completed from the point that he had prohibited the people from speaking to us.
“On the morning of the fiftieth night, I performed the Fajr prayer upon the roof of one of our houses. I was experiencing a condition which Allah had mentioned in the Book:
‘My soul had become contracted, and the earth had contracted upon me despite its vastness.’
“Suddenly I heard a clear voice emanating from the direction of Mount Safa. Somebody announced with his loudest voice: ‘O Ka’ab bin Malik, I confer upon you glad tidings!’ I prostrated myself upon the ground. I realized that relief from this tribulation had arrived and that the Messenger of Allah sallallahu ‘alayhi wa sallam had indicated that Allah had granted us penitence. After the Fajr prayer, the people thereupon proceeded forth to congratulate us, and bearers of glad tidings departed to my two companions. A horseman raced towards me in order to congratulate me and a messenger from the tribe of Aslam raced towards the mountain and scaled it in order to make the announcement. I heard his voice before that of the horseman. When the individual whose voice I had heard approached me to convey the glad tidings, I removed my garments and clothed him in them. By Allah, on that day I was not in possession of any other garments, I therefore borrowed two items, clothed myself and proceeded towards the Messenger of Allahsallallahu ‘alayhi wa sallam. People started receiving me in groups, congratulating me upon the acceptance of my penitence. They said: ‘We congratulate you upon Allah’s acceptance of your repentance.’ When I entered the Mosque, the Messenger of Allahsallallahu ‘alayhi wa sallam was sitting, surrounded by people. Talhah ibn ‘Ubaydullah hastened towards me. He shook my hand, and congratulated me. By Allah, no one from amongst the Muhajirin (Emigrants) stood in order to greet me save him, and I shall never forget Talhah’s action in doing so.
“When I greeted the Messenger of Allah sallallahu ‘alayhi wa sallam, his face was radiant with happiness, and he said: ‘I give you the glad tidings of the best day you have witnessed since your mother gave birth to you.’ I asked, ipation in that invasion amounted to a degree of hypocri’Is this from you or from Allah?’ He responded, ‘It is from Allah.’
“Whenever the Messenger of Allah sallallahu ‘alayhi wa sallam became delighted, his face became illuminated until it resembled a piece of the moon. We recognized that this matter was characteristic of him. When I sat before him, I said: ‘O Messenger of Allah, by virtue of the acceptance of my repentance, I shall donate the sum total of my wealth in charity for the sake of Allah and His Messenger.’ The Messenger of Allah sallallahu ‘alayhi wa sallam responded: ‘Retain a portion of your wealth, for it is better for you to do so.’ I said: ‘I shall retain a portion of my wealth in Khaybar. O Messenger of Allah, verily Allah has delivered me from this tribulation because I spoke the truth. My penitence therefore dictates that I shall speak only the truth as long as I live.’
“By Allah, I am not aware of any individual from amongst the Muslims whom Allah has blessed for speaking the truth more than myself, from the time wherein I mentioned those words of truth to the Messenger of Allah sallallahu ‘alayhi wa sallam. In addition, I have never intended to utter a falsehood from the time wherein I mentioned those words of truth to the Messenger of Allahsallallahu ‘alayhi wa sallam to the present day. Furthermore, I hope that Allah will protect me from uttering falsehood during the remaining portion of my life. Allah revealed the Verse to His Messenger:
“Allah has forgiven the Prophet, the Muhajirin, and the Ansar … be with those who are truthful … “ [Al-Qur’an 9:117-119]
“By Allah, after guiding me to Islam, Allah has not bestowed upon me a favour – greater in magnitude – than my statement of truth to the Apostle of Allah sallallahu ‘alayhi wa sallam, and my action of not uttering a lie to him. For I would have destroyed myself, as those who uttered lies were destroyed. Allah ascribed to those who had uttered falsehood, a description more evil than he had ascribed to any other individual, when He revealed His Revelation. Allah, Blessed be He, the Most High stated:
‘They will swear by Allah to you when you return to them, that you may turn away from them. So turn away from them. Surely, they are impure, and Hell is their dwelling place – a recompense for that which they used to earn. They (the hypocrites) swear to you (Muslims) that you may be pleased with them, but if you are pleased with them, certainly Allah is not pleased with people who are rebellious.’ [Al-Qur’an 9:95-96]“
“We, the three who neglected to participate, differed from those whose excuses were accepted by the Messenger of Allah sallallahu ‘alayhi wa sallam when they swore to him to that effect. He accepted their pledge of allegiance and sought forgiveness for them. However, the Messenger of Allah sallallahu ‘alayhi wa sallam deferred our case until Allah passed judgment in relation to it. With reference to that, Allah said: ‘He also forgave the three who remained behind … ‘ [Qur’an 9:118]
“In this Verse Allah did not refer to our non-participation in the military expedition. However it refers to the postponement and deferment of the Messenger sallallahu ‘alayhi wa sallam in the act of passing judgment. In contrast to the one who took an oath before him and excused himself: an action which was accepted by the Messenger of Allah sallallahu ‘alayhi wa sallam.”
In a different narration: The Prophet sallallahu ‘alayhi wa sallam departed for the Battle of Tabuk on Thursday, he would love to set out on a Thursday. In a further narration: He would not return from a journey save during the day time before noon. Upon arrival, he would proceed towards the Mosque and perform a two rak’ah prayer. Thereafter, he would sit.” [Collected: Bukhari (4418), Kitab al-Maghazi, and Muslim (2769), Kitab at-Tawbah]
Volume 3, Book 48, Number 821 :
Narrated by Anas (radiallaahu `anhu)
The Prophet (sallallaahu `alayhi wasallam) was asked about the great sins He said, “They are:- (1 ) To join others in worship with Allah, (2) To be undutiful to one’s parents. (3) To kill a person (which Allah has forbidden to kill) (i.e. to commit the crime of murdering). (4) And to give a false witness.”
Volume 3, Book 48, Number 822 :
Narrated by Abu Bakra (radiallaahu `anhu)
The Prophet (sallallaahu `alayhi wasallam) said thrice, “Should I inform you out the greatest of the great sins?” They said, “Yes, O Allah’s Apostle (sallallaahu `alayhi wasallam)!” He said, “To join others in worship with Allah and to be undutiful to one’s parents.” The Prophet (sallallaahu `alayhi wasallam) then sat up after he had been reclining (on a pillow) and said, “And I warn you against giving a false witness”, and he kept on saying that warning till we thought he would not stop.
There’s mention of false witness in the Quran as well:
وَالَّذِينَ لَا يَشْهَدُونَ الزُّورَ
“And [they are] those who do not testify to falsehood..” [Al-Furqan: 72]
Ibn Kathir comments:
These are further attributes of the servants of the Most Gracious. They do not bear witness to falsehood, including lies, immorality, disbelief, foul speech and false words…
“And those who do not bear witness to falsehood” refers to giving false testimony, which means lying deliberately to someone else…
From the context it seems that what is meant by those who do not bear witness to falsehood is those who do not attend it or are not present when it happens.
The above ayah talks about false witness, which is a major sin. Allah also talks about hiding witness/testimony in the Quran:
وَلَا تَكْتُمُوا الشَّهَادَةَ ۚ وَمَن يَكْتُمْهَا فَإِنَّهُ آثِمٌ قَلْبُهُ ۗ وَاللَّهُ بِمَا تَعْمَلُونَ عَلِيمٌ
“And do not conceal testimony, for whoever conceals it – his heart is indeed sinful, and Allah is Knowing of what you do.” [Al-Baqarah: 283]
Ibn Kathir comments:
﴿وَلاَ تَكْتُمُواْ الشَّهَـدَةَ﴾
(And conceal not the evidence) means, do not hide it or refuse to announce it. Ibn `Abbas and other scholars said, “False testimony is one of the worst of the major sins, and such is the case with hiding the true testimony.” This is why Allah said,
﴿وَمَن يَكْتُمْهَا فَإِنَّهُ ءَاثِمٌ قَلْبُهُ﴾
(For he who hides it, surely, his heart is sinful).
As-Suddi commented, “Meaning he is a sinner in his heart.”
This is similar to Allah’s statement,
﴿وَلاَ نَكْتُمُ شَهَـدَةَ اللَّهِ إِنَّآ إِذَاً لَّمِنَ الاٌّثِمِينَ﴾
(We shall not hide testimony of Allah, for then indeed we should be of the sinful) ﴿5:106﴾.
﴿يَـأَيُّهَا الَّذِينَ ءَامَنُواْ كُونُواْ قَوَّامِينَ بِالْقِسْطِ شُهَدَآءِ للَّهِ وَلَوْ عَلَى أَنفُسِكُمْ أَوِ الْوَلِدَيْنِ وَالاٌّقْرَبِينَ إِن يَكُنْ غَنِيّاً أَوْ فَقَيراً فَاللَّهُ أَوْلَى بِهِمَا فَلاَ تَتَّبِعُواْ الْهَوَى أَن تَعْدِلُواْ وَإِن تَلْوُواْ أَوْ تُعْرِضُواْ فَإِنَّ اللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيراً ﴾
(O you who believe! Stand out firmly for justice, as witnesses to Allah, even though it be against yourselves, or your parents, or your kin, be he rich or poor, Allah is a better Protector to both (than you). So follow not the lusts (of your hearts), lest you avoid justice; and if you distort your witness or refuse to give it, verily, Allah is Ever Well-Acquainted with what you do) ﴿ 4:135
P.S. We have talked previously about a similar subject: false oaths.
Volume 3, Book 48, Number 816 :
Narrated by ‘Urwa bin Az-Zubair (radiallaahu `anhu)
A woman committed theft in the Ghazwa of the Conquest (of Mecca) and she was taken to the Prophet (sallallaahu `alayhi wasallam) who ordered her hand to be cut off. ‘Aisha (radiallaahu `anhaa) said, “Her repentance was perfect and she was married (later) and used to come to me (after that) and I would present her needs to Allah’s Apostle (sallallaahu `alayhi wasallam).”
Volume 3, Book 48, Number 817 :
Narrated by Zaid bin Khalid (radiallaahu `anhu)
Allah’s Apostle (sallallaahu `alayhi wasallam) ordered that an unmarried man who committed illegal sexual intercourse be scourged one hundred lashes and sent into exile for one year.
Can the testimony of a sinner be accepted?
In case of slander, Allah has prescribed three punishments. They are: the hadd punishment; rejection of testimony; and describing the slanderer as an evildoer (Faasiq). Allaah says (interpretation of the meaning):
“And those who accuse chaste women, and produce not four witnesses, flog them with eighty stripes, and reject their testimony forever. They indeed are the Faasiqoon (liars, rebellious, disobedient to Allaah). Except those who repent thereafter and do righteous deeds; (for such) verily, Allaah is Oft‑Forgiving, Most Merciful.” [al-Noor 24:4-5].
With regard to the hadd punishment, the fuqaha’ are unanimously agreed that the hadd punishment for slander is eighty lashes if the slanderer is a free person [i.e., not a slave], man or woman, because Allaah says (interpretation of the meaning):
“flog them with eighty stripes” [al-Noor 24:4].
As for his testimony not being accepted, the scholars are unanimously agreed that the testimony of the slanderer should not be accepted so long as he has not repented, because he has committed a major sin, namely slander, and has not repented from it, so he cannot be described as being of good character, and good character is a condition of testimony being accepted; and because he is a liar and an evildoer according to the text of the verse: “They indeed are the Faasiqoon (liars, rebellious, disobedient to Allaah).”
“Why did they not produce four witnesses? Since they (the slanderers) have not produced witnesses! Then with Allaah they are the liars” [al-Noor 24:13].
The testimony of the evildoer and liar cannot be accepted, because Allaah says (interpretation of the meaning): “And take as witness two just persons from among you (Muslims)” [al-Talaaq 65:2]. So it is stipulated that the witness should be of good character, and the evildoer and liar are not of good character.
If he repents from slander and admits that he was lying, then the majority of scholars (Maalik, al-Shaafa’i and Ahmad) are of the view that his testimony may be accepted. They said:
1. Because repentance erases the sins that came before it, so if he repents his sin and its effects are erased completely, and non-acceptance of testimony is one of the effects of that sin.
Imam al-Shaafa’i said in al-Umm (7/94):
If he admits that he lied, his testimony may then be accepted, but if he does not do that then his testimony cannot be accepted, until he does that, because the sin for which his testimony is rejected is slander, but if he admits that he was lying then he has repented. End quote.
2. Because the expression “forever” in the verse applies so long as he persists in evildoing. Hence after that the verse mentions after the ruling that he is an evildoer: “and reject their testimony forever. They indeed are the Faasiqoon (liars, rebellious, disobedient to Allaah).” If the description of evildoer ceases to apply to him, then the reason for rejecting his testimony also ceases to exist.
3. It was narrated from ‘Umar (may Allaah be pleased with him) that he said to those who had slandered al-Mugheerah ibn Shu’bah, after he had carried out the hadd punishment of flogging on them: “Whoever repents, his testimony will be accepted.” Narrated by al-Bukhaari in a mu’allaq majzoom report.
His repentance means that he admits that he was lying about the slandered person whom he accused of zina. Hence the words of ‘Umar according to Ibn Jareer were, “Whoever admits that he was lying, his testimony will be accepted.”
If the slanderer repents and mends his ways, his testimony will be accepted, like any other Muslim of good character.
Al-Mughni (12/386); al-Majmoo’ (22/98-101).
Taken from IslamQA
Volume 3, Book 43, Number 655:
Narrated Abu Huraira (radiallaahu `anhu):
The Prophet (sallallaahu `alayhi wasallam) said, “When an adulterer commits illegal sexual intercourse, then he is not a believer at the time he is doing it, and when a drinker of an alcoholic liquor drinks it, then he is not a believer at the time of drinking it, and when a thief steals, then he is not a believer at the time of stealing, and when a robber robs, and the people look at him, then he is not a believer at the time of doing robbery.
A believer who indulges in a major sin cannot possibly have the fear/consciousness of Allah while he’s committing the sin. Iman increases and decreases, and sometimes it just goes too low.
Only sincere repentance can wipe out these sins from our slate, nothing else.
Al-Tirmidhi narrated that Anas ibn Malik (may Allah be pleased with him) said: I heard the Messenger of Allah (peace and blessings of Allah be upon him) say: “Allah, may He be blessed and exalted, said: ‘O son of Adam, so long as you call upon Me and ask of Me, I shall forgive you for what you have done, and I shall not mind. O son of Adam, were your sins to reach the clouds of the sky and were you then to ask forgiveness of Me, I would forgive you and I would not mind.’” [Saheeh al-Tirmidhi]