وَحَدَّثَنِي مَالِكٌ، أَنَّهُ بَلَغَهُ أَنَّ عُثْمَانَ بْنَ عَفَّانَ، أُتِيَ بِامْرَأَةٍ قَدْ وَلَدَتْ فِي سِتَّةِ أَشْهُرٍ فَأَمَرَ بِهَا أَنْ تُرْجَمَ فَقَالَ عَلِيُّ بْنُ أَبِي طَالِبٍ لَيْسَ ذَلِكَ عَلَيْهَا إِنَّ اللَّهَ تَبَارَكَ وَتَعَالَى يَقُولُ فِي كِتَابِهِ ‏{‏وَحَمْلُهُ وَفِصَالُهُ ثَلاَثُونَ شَهْرًا‏}‏ وَقَالَ ‏{‏وَالْوَالِدَاتُ يُرْضِعْنَ أَوْلاَدَهُنَّ حَوْلَيْنِ كَامِلَيْنِ لِمَنْ أَرَادَ أَنْ يُتِمَّ الرَّضَاعَةَ‏}‏ فَالْحَمْلُ يَكُونُ سِتَّةَ أَشْهُرٍ فَلاَ رَجْمَ عَلَيْهَا ‏.‏ فَبَعَثَ عُثْمَانُ بْنُ عَفَّانَ فِي أَثَرِهَا فَوَجَدَهَا قَدْ رُجِمَتْ ‏.‏

Malik related to me that he had heard that Uthman ibn Affan wasbrought a woman who had given birth after six months and he orderedher to be stoned. Ali ibn Abi Talib said to him, "She does not deservethat. Allah, the Blessed, the Exalted, says in His Book, 'Theircarrying and weaning is thirty months,' (Sura 46 ayat 15) and he said,'Mothers suckle their children for two full years for whoever wishesto complete the suckling.' (Sura 2 ayat 233) Pregnancy can then be sixmonths, so she does not deserve to be stoned." Uthman ibn Affan sentfor her and found that she had already been stoned. Malikrelated to me that he asked Ibn Shihab about someone who committedsodomy. Ibn Shihab said, "He is to be stoned, whether or not he ismuhsan." Translation Not Available

Book Ref: Muwatta Imam Malik Book 41 Hadith 1513
Web Ref:  Muwatta Imam Malik Book 41 Hadith 11