Samiddhi was once drying himself after bathing at Tapodā in Rājagaha, when a deity appeared before him and asked if he knew the Bhaddekaratta Sutta. On his replying in the negative, the deity asked him to learn it, and the next day Samiddhi sought the Buddha and learnt the verses of the sutta.
Samiddhi and his colleagues then went to Mahā Kaccāna and urged him to explain the sutta in detail. This he did, for which they were very grateful. They repeated Kaccāna's exposition to the Buddha, who greatly approved of it. (M.133)