كتاب الأشربة
36  
The Book of Drinks
(12)
Chapter: It is recommended to cover vessels, tie up waterskins, close doors and mention the name of Allah over them, extinguish lamps and fires when going to sleep, and keep children and animals in after maghrib
(12)
باب الأَمْرِ بِتَغْطِيَةِ الإِنَاءِ وَإِيكَاءِ السِّقَاءِ وَإِغْلاَقِ الأَبْوَابِ وَذِكْرِ اسْمِ اللَّهِ عَلَيْهَا وَإِطْفَاءِ السِّرَاجِ وَالنَّارِ عِنْدَ النَّوْمِ وَكَفِّ الصِّبْيَانِ وَالْمَوَاشِي بَعْدَ الْمَغْرِبِ
Sahih Muslim 2012 b

This hadith is reported on the authority of Jabir but with a slight change of wording, and he did not mention the words:

" Putting a stick across the vessel."
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ أَبِي الزُّبَيْرِ، عَنْ جَابِرٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِهَذَا الْحَدِيثِ غَيْرَ أَنَّهُ قَالَ ‏ "‏ وَاكْفِئُوا الإِنَاءَ أَوْ خَمِّرُوا الإِنَاءَ ‏"‏ ‏.‏ وَلَمْ يَذْكُرْ تَعْرِيضَ الْعُودِ عَلَى الإِنَاءِ ‏.‏
Reference : Sahih Muslim 2012b
In-book reference : Book 36, Hadith 121
USC-MSA web (English) reference : Book 23, Hadith 4992
  (deprecated numbering scheme)