It is narrated from Sayyiduna Abdullah bin Sarjis (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "None of you should ever urinate into a hole (burrow). When you go to sleep, put out the lamp, for the mouse drags away the wick and burns the people of the house. Tie up the mouths of the waterskins, cover the drinks, and shut the doors at night."
People asked Qatadah (may Allah have mercy on him): "Why is urinating into a hole disliked?" He said: "It is said that they are the dwellings of the jinn."
The wording is the same, except that in the narration of al-Qawariri the words are: "(they are) among the dwellings of the jinn."
Imam Abu Dawud (may Allah have mercy on him) narrated the first part of it from al-Qawariri, namely the prohibition of urinating into a hole.
And Imam al-Nasa'i (may Allah have mercy on him) narrated it from Ubaydullah bin Sa'id al-Sarakhsi, from Mu'adh, likewise, regarding the mention of urination.
It is narrated from Imam Ahmad (may Allah have mercy on him) that he said: "To my knowledge, Qatadah did not narrate from any of the Companions (may Allah be pleased with them) except Sayyiduna Anas (may Allah be pleased with him)." It was said to him: "What about Ibn Sarjis?" It was as if he did not regard it as (Qatadah's) direct hearing.
It has a supporting witness in the two Sahihs in the narration of Ata bin Abi Rabah (may Allah have mercy on him) from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both), with these words: "Cover the vessels, tie up the mouths of the waterskins, and shut the doors."
In the printed edition of Dar Khidr, edited by Abd al-Malik bin Abdullah bin Duhaysh, it is (al-Sarjisi), and what has been kept in the text is taken from Sunan al-Nasa'i; his biography may be seen in "al-Tahdhibayn". And Allah knows best.