Hadithcore
Sahih Muslim, 1300
sahih

Jabir (b. Abdullab) (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:

Odd number of stones are to be used for cleaning (the private parts after answering the call of nature), and casting of pebbles at the Jamras is to be done by odd numbers (seven), and (the number) of circuits between al-Safa' and al-Marwa is also odd (seven), and the number of circuits (around the Ka'ba) is also odd (seven). Whenever any one of you is required to use stones (for cleaning the private parts) he should use odd number of stones (three, five or seven).

وَحَدَّثَنِي سَلَمَةُ بْنُ شَبِيبٍ، حَدَّثَنَا الْحَسَنُ بْنُ أَعْيَنَ، حَدَّثَنَا مَعْقِلٌ، - وَهُوَ ابْنُ عُبَيْدِ اللَّهِ الْجَزَرِيُّ - عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ الاِسْتِجْمَارُ تَوٌّ وَرَمْىُ الْجِمَارِ تَوٌّ وَالسَّعْىُ بَيْنَ الصَّفَا وَالْمَرْوَةِ تَوٌّ وَالطَّوَافُ تَوٌّ وَإِذَا اسْتَجْمَرَ أَحَدُكُمْ فَلْيَسْتَجْمِرْ بِتَوٍّ ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 15, Hadith 347
USC-MSA web (English) reference
Book 7, Hadith 2982 (deprecated numbering scheme)
Sharh · explanationclick to expand
This Hadīth demonstrates some Islamic Sunnahs and etiquettes and Shar‘i teachings. The Prophet (may Allah's peace and blessings be upon him) informs that Istijmār - which is to remove or dry up urine and stools with stones - should be done by odd numbers, i.e., Witr, which is three times. If cleaning is not done three times, he must do it more times until it is achieved. But if it is achieved by an odd number, there should be no more times. And if it is done an even number of times, he should wipe it one more time to make it odd. Likewise, throwing the Jamarāt in Hajj should be done with seven pebbles, which is an odd number. And Sa‘i between Safa and Marwah should comprise seven rounds, which is an odd number. And the Tawāf around the Ka‘bah should consist of seven rounds, which is an odd number. Then, the Prophet (may Allah's peace and blessings be upon him) said: "and when any of you engages in Istjimār, he should do so by odd numbers." It is said that the statement at the beginning of the Hadīth is intended to refer to the number of times of doing it, and the statement here refers to the number of stones involved. Or the statement is repeated to give particular emphasis and attention to this matter, as it may be neglected with its daily repetition, unlike other things. So, the earlier statement is intended for information, and the latter is intended for urging and showing care. And it is said: Istijmār here refers to the use of incense, which is done by putting a stick of incense on a Jamrah of fire (ember); and it should also be done by an odd number..